diff options
author | Björn Gustavsson <[email protected]> | 2013-10-03 14:06:57 +0200 |
---|---|---|
committer | Björn-Egil Dahlberg <[email protected]> | 2014-01-28 15:56:28 +0100 |
commit | c2702eb35db00ad67f922708eeea48616d908306 (patch) | |
tree | a4f4133e5279bfc0e96c227520ecede70cbb821b /lib/compiler/src/beam_flatten.erl | |
parent | 760ed909f8e2a655100ea773829c7d0e7dd40088 (diff) | |
download | otp-c2702eb35db00ad67f922708eeea48616d908306.tar.gz otp-c2702eb35db00ad67f922708eeea48616d908306.tar.bz2 otp-c2702eb35db00ad67f922708eeea48616d908306.zip |
compiler: Implement different instructions for => and :=
Diffstat (limited to 'lib/compiler/src/beam_flatten.erl')
-rw-r--r-- | lib/compiler/src/beam_flatten.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/compiler/src/beam_flatten.erl b/lib/compiler/src/beam_flatten.erl index ad9591ff05..534bc6d954 100644 --- a/lib/compiler/src/beam_flatten.erl +++ b/lib/compiler/src/beam_flatten.erl @@ -61,8 +61,8 @@ norm({set,[],[S],put}) -> {put,S}; norm({set,[D],[S],{get_tuple_element,I}}) -> {get_tuple_element,S,I,D}; 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,F}}}) -> - {put_map,F,S,D,R,{list,Puts}}; +norm({set,[D],[S|Puts],{alloc,R,{put_map,Op,F}}}) -> + {put_map,F,Op,S,D,R,{list,Puts}}; norm({set,[D],[S],{get_map_element,K,F}}) -> {get_map_element,F,S,K,D}; norm({set,[],[],remove_message}) -> remove_message; |