aboutsummaryrefslogtreecommitdiffstats
path: root/lib/compiler/src
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2014-03-04 12:30:54 +0100
committerBjörn-Egil Dahlberg <[email protected]>2014-03-04 12:30:54 +0100
commit2fbbc2f0d7987d15aef7b3ece116926e1215d8a3 (patch)
treeb1a169fe219998666560abe3b65981b93a51a610 /lib/compiler/src
parent2e5457c71e7c125b3d603e04575648b7afa1b54a (diff)
parent5436de7707970f89ecee7ff649bc8ab6b99f8f36 (diff)
downloadotp-2fbbc2f0d7987d15aef7b3ece116926e1215d8a3.tar.gz
otp-2fbbc2f0d7987d15aef7b3ece116926e1215d8a3.tar.bz2
otp-2fbbc2f0d7987d15aef7b3ece116926e1215d8a3.zip
Merge branch 'nox/maps-fix-beam_bool-put_map'
* nox/maps-fix-beam_bool-put_map: Properly collect labels in put_map instructions in beam_bool
Diffstat (limited to 'lib/compiler/src')
-rw-r--r--lib/compiler/src/beam_bool.erl2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/compiler/src/beam_bool.erl b/lib/compiler/src/beam_bool.erl
index 124abd13c1..590665514b 100644
--- a/lib/compiler/src/beam_bool.erl
+++ b/lib/compiler/src/beam_bool.erl
@@ -318,6 +318,8 @@ split_block_label_used([{set,[_],_,{bif,_,{f,Fail}}}|_], Fail) ->
true;
split_block_label_used([{set,[_],_,{alloc,_,{gc_bif,_,{f,Fail}}}}|_], Fail) ->
true;
+split_block_label_used([{set,[_],_,{alloc,_,{put_map,_,{f,Fail}}}}|_], Fail) ->
+ true;
split_block_label_used([_|Is], Fail) ->
split_block_label_used(Is, Fail);
split_block_label_used([], _) -> false.