aboutsummaryrefslogtreecommitdiffstats
path: root/lib/compiler/src/beam_flatten.erl
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2016-10-05 13:08:55 +0200
committerBjörn Gustavsson <[email protected]>2016-10-05 13:08:55 +0200
commitf9904b530bf14487d08aadf0e1fb06322ce55753 (patch)
tree55d0cec55b9022fa9e8fe51bd602fa84c8ccb236 /lib/compiler/src/beam_flatten.erl
parentd094d41069275f42845ba67da410e1b30566950b (diff)
parent0c599bcad1e7f5f66dd2342ab27791048145e892 (diff)
downloadotp-f9904b530bf14487d08aadf0e1fb06322ce55753.tar.gz
otp-f9904b530bf14487d08aadf0e1fb06322ce55753.tar.bz2
otp-f9904b530bf14487d08aadf0e1fb06322ce55753.zip
Merge branch 'bjorn/compiler/beam_block/ERL-266/OTP-13931' into maint
* bjorn/compiler/beam_block/ERL-266/OTP-13931: beam_block: Avoid unsafe inclusion of get_map_elements in blocks
Diffstat (limited to 'lib/compiler/src/beam_flatten.erl')
-rw-r--r--lib/compiler/src/beam_flatten.erl1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/compiler/src/beam_flatten.erl b/lib/compiler/src/beam_flatten.erl
index 36369bd0b4..c9ff07b496 100644
--- a/lib/compiler/src/beam_flatten.erl
+++ b/lib/compiler/src/beam_flatten.erl
@@ -64,7 +64,6 @@ norm({set,[],[S,D],{set_tuple_element,I}}) -> {set_tuple_element,S,D,I};
norm({set,[D1,D2],[S],get_list}) -> {get_list,S,D1,D2};
norm({set,[D],[S|Puts],{alloc,R,{put_map,Op,F}}}) ->
{put_map,F,Op,S,D,R,{list,Puts}};
-%% get_map_elements is always handled in beam_split (moved out of block)
norm({set,[],[],remove_message}) -> remove_message;
norm({set,[],[],fclearerror}) -> fclearerror;
norm({set,[],[],fcheckerror}) -> {fcheckerror,{f,0}}.