diff options
author | John Högberg <[email protected]> | 2018-09-28 14:08:23 +0200 |
---|---|---|
committer | GitHub <[email protected]> | 2018-09-28 14:08:23 +0200 |
commit | 7d941c529dc9db016af30cdace2df089d1648dbf (patch) | |
tree | ce04f9922931e927ca22d75a2cd0fd4d0d0328eb /lib/compiler/src/beam_disasm.erl | |
parent | 08ef38b2c9f84ed118e693bff38efa69fc2c7eb8 (diff) | |
parent | afa36d2081927c46a4c3ddceb40276fc7756bb51 (diff) | |
download | otp-7d941c529dc9db016af30cdace2df089d1648dbf.tar.gz otp-7d941c529dc9db016af30cdace2df089d1648dbf.tar.bz2 otp-7d941c529dc9db016af30cdace2df089d1648dbf.zip |
Merge pull request #1958 from jhogberg/john/compiler/ssa-bsm-opt
Rewrite BSM optimizations in the new SSA-based intermediate format
Diffstat (limited to 'lib/compiler/src/beam_disasm.erl')
-rw-r--r-- | lib/compiler/src/beam_disasm.erl | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/compiler/src/beam_disasm.erl b/lib/compiler/src/beam_disasm.erl index d0be39f520..7d048716e4 100644 --- a/lib/compiler/src/beam_disasm.erl +++ b/lib/compiler/src/beam_disasm.erl @@ -1105,6 +1105,16 @@ resolve_inst({get_hd,[Src,Dst]},_,_,_) -> resolve_inst({get_tl,[Src,Dst]},_,_,_) -> {get_tl,Src,Dst}; +%% OTP 22 +resolve_inst({bs_start_match3,[Fail,Bin,Live,Dst]},_,_,_) -> + {bs_start_match3,Fail,Bin,Live,Dst}; +resolve_inst({bs_get_tail,[Src,Dst,Live]},_,_,_) -> + {bs_get_tail,Src,Dst,Live}; +resolve_inst({bs_get_position,[Src,Dst,Live]},_,_,_) -> + {bs_get_position,Src,Dst,Live}; +resolve_inst({bs_set_position,[Src,Dst]},_,_,_) -> + {bs_set_position,Src,Dst}; + %% %% OTP 22. %% |