aboutsummaryrefslogtreecommitdiffstats
path: root/lib/compiler/src
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2014-03-07 15:10:12 +0100
committerBjörn-Egil Dahlberg <[email protected]>2014-03-07 15:10:12 +0100
commit870737ab657433c5e8751255fe3c4d298202d142 (patch)
treeb0dd23b0c900c6b3b47c364cd721ad7bfac1cf2e /lib/compiler/src
parent5017c6e4de41a95cd489aa0b3ddda0eb8d821623 (diff)
parent35f6804946b22ef9a813c27780d4760c157a3c3d (diff)
downloadotp-870737ab657433c5e8751255fe3c4d298202d142.tar.gz
otp-870737ab657433c5e8751255fe3c4d298202d142.tar.bz2
otp-870737ab657433c5e8751255fe3c4d298202d142.zip
Merge branch 'nox/maps-beam_jump-put_map'
* nox/maps-beam_jump-put_map: Properly collect labels in put_map instructions in beam_jump
Diffstat (limited to 'lib/compiler/src')
-rw-r--r--lib/compiler/src/beam_jump.erl1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/compiler/src/beam_jump.erl b/lib/compiler/src/beam_jump.erl
index 100acaede3..b952139f2c 100644
--- a/lib/compiler/src/beam_jump.erl
+++ b/lib/compiler/src/beam_jump.erl
@@ -446,6 +446,7 @@ is_label_used_in_2({set,_,_,Info}, Lbl) ->
case Info of
{bif,_,{f,F}} -> F =:= Lbl;
{alloc,_,{gc_bif,_,{f,F}}} -> F =:= Lbl;
+ {alloc,_,{put_map,_,{f,F}}} -> F =:= Lbl;
{'catch',{f,F}} -> F =:= Lbl;
{alloc,_,_} -> false;
{put_tuple,_} -> false;