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_a.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_a.erl')
-rw-r--r-- | lib/compiler/src/beam_a.erl | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/compiler/src/beam_a.erl b/lib/compiler/src/beam_a.erl index c590c5e35b..3dfa67a771 100644 --- a/lib/compiler/src/beam_a.erl +++ b/lib/compiler/src/beam_a.erl @@ -88,6 +88,10 @@ rename_instr({bs_private_append=I,F,Sz,U,Src,Flags,Dst}) -> {bs_init,F,{I,U,Flags},none,[Sz,Src],Dst}; rename_instr(bs_init_writable=I) -> {bs_init,{f,0},I,1,[{x,0}],{x,0}}; +rename_instr({put_map_assoc,Fail,S,D,R,L}) -> + {put_map,Fail,assoc,S,D,R,L}; +rename_instr({put_map_exact,Fail,S,D,R,L}) -> + {put_map,Fail,exact,S,D,R,L}; rename_instr({select_val=I,Reg,Fail,{list,List}}) -> {select,I,Reg,Fail,List}; rename_instr({select_tuple_arity=I,Reg,Fail,{list,List}}) -> |