aboutsummaryrefslogtreecommitdiffstats
path: root/lib/compiler/src
diff options
context:
space:
mode:
authorAnthony Ramine <[email protected]>2014-03-03 14:12:20 +0100
committerAnthony Ramine <[email protected]>2014-03-06 10:44:13 +0100
commit35f6804946b22ef9a813c27780d4760c157a3c3d (patch)
treef379c1671edb5d65ace4deba437373087fae7ca9 /lib/compiler/src
parent4a28c972a710461568f4e610dffc09de221aaa44 (diff)
downloadotp-35f6804946b22ef9a813c27780d4760c157a3c3d.tar.gz
otp-35f6804946b22ef9a813c27780d4760c157a3c3d.tar.bz2
otp-35f6804946b22ef9a813c27780d4760c157a3c3d.zip
Properly collect labels in put_map instructions in beam_jump
Reported-by: Ulf Norell
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 0fc8d45c80..00b38637c1 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;