aboutsummaryrefslogtreecommitdiffstats
path: root/lib/compiler/src/beam_jump.erl
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2014-02-10 18:55:17 +0100
committerBjörn-Egil Dahlberg <[email protected]>2014-02-13 14:39:28 +0100
commit210dbf68a62794b51b74337381cd87424a46b2a5 (patch)
tree6f7a25b60514b1b96bea15c4cf568c1a00c02504 /lib/compiler/src/beam_jump.erl
parent993642bd638f194c2cbb0e62ee706e8d6eb81fce (diff)
downloadotp-210dbf68a62794b51b74337381cd87424a46b2a5.tar.gz
otp-210dbf68a62794b51b74337381cd87424a46b2a5.tar.bz2
otp-210dbf68a62794b51b74337381cd87424a46b2a5.zip
compiler: Change map instructions for fetching values
* Combine multiple get values with one instruction * Combine multiple check keys with one instruction
Diffstat (limited to 'lib/compiler/src/beam_jump.erl')
-rw-r--r--lib/compiler/src/beam_jump.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/compiler/src/beam_jump.erl b/lib/compiler/src/beam_jump.erl
index 1f720b94c3..0fc8d45c80 100644
--- a/lib/compiler/src/beam_jump.erl
+++ b/lib/compiler/src/beam_jump.erl
@@ -529,7 +529,7 @@ ulbl({bs_put,Lbl,_,_}, Used) ->
mark_used(Lbl, Used);
ulbl({put_map,Lbl,_Op,_Src,_Dst,_Live,_List}, Used) ->
mark_used(Lbl, Used);
-ulbl({get_map_element,Lbl,_Src,_Key,_Dst}, Used) ->
+ulbl({get_map_elements,Lbl,_Src,_List}, Used) ->
mark_used(Lbl, Used);
ulbl(_, Used) -> Used.