diff options
author | Björn-Egil Dahlberg <[email protected]> | 2015-01-23 15:31:45 +0100 |
---|---|---|
committer | Björn-Egil Dahlberg <[email protected]> | 2015-01-23 15:31:45 +0100 |
commit | 251b52eee5a36dcefc30a83c9b37ca62eedc2e71 (patch) | |
tree | 50c29463e2ac9388be188c9987dba3710ef79b9e /lib/compiler/src/beam_block.erl | |
parent | 75204f98d1464c05a5b5e756a43663ad5b8b640b (diff) | |
parent | 13696ffaaf6440c3f1e28f740679d096ddd87c17 (diff) | |
download | otp-251b52eee5a36dcefc30a83c9b37ca62eedc2e71.tar.gz otp-251b52eee5a36dcefc30a83c9b37ca62eedc2e71.tar.bz2 otp-251b52eee5a36dcefc30a83c9b37ca62eedc2e71.zip |
Merge branch 'egil/fix-maps-compiler-coverage/OTP-12425'
* egil/fix-maps-compiler-coverage/OTP-12425:
compiler: Rename util function to adhere to name policy
compiler: Remove get_map_elements label check in blocks
compiler: Remove unnecassary guard for get_map_elements
compiler: Remove dead code in beam_flatten
compiler: Increase Maps code coverage
Diffstat (limited to 'lib/compiler/src/beam_block.erl')
-rw-r--r-- | lib/compiler/src/beam_block.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/compiler/src/beam_block.erl b/lib/compiler/src/beam_block.erl index 5626aa34ab..7d65dc983a 100644 --- a/lib/compiler/src/beam_block.erl +++ b/lib/compiler/src/beam_block.erl @@ -155,7 +155,7 @@ collect(remove_message) -> {set,[],[],remove_message}; collect({put_map,F,Op,S,D,R,{list,Puts}}) -> {set,[D],[S|Puts],{alloc,R,{put_map,Op,F}}}; collect({get_map_elements,F,S,{list,Gets}}) -> - {Ss,Ds} = beam_utils:spliteven(Gets), + {Ss,Ds} = beam_utils:split_even(Gets), {set,Ds,[S|Ss],{get_map_elements,F}}; collect({'catch',R,L}) -> {set,[R],[],{'catch',L}}; collect(fclearerror) -> {set,[],[],fclearerror}; |