diff options
author | Björn Gustavsson <[email protected]> | 2019-03-18 06:34:10 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2019-03-19 16:02:00 +0100 |
commit | f5ad8d333947da10fa712db4a579b838d00ad485 (patch) | |
tree | 80a3968247c1a7ea5a995e9b698b6f04ee2de104 /erts | |
parent | 3398cc02c91e5231b2552ae92a75b9dd2c05be29 (diff) | |
download | otp-f5ad8d333947da10fa712db4a579b838d00ad485.tar.gz otp-f5ad8d333947da10fa712db4a579b838d00ad485.tar.bz2 otp-f5ad8d333947da10fa712db4a579b838d00ad485.zip |
Combine move and init to move_shift
Diffstat (limited to 'erts')
-rw-r--r-- | erts/emulator/beam/ops.tab | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/erts/emulator/beam/ops.tab b/erts/emulator/beam/ops.tab index b405999f2a..46afeb51c9 100644 --- a/erts/emulator/beam/ops.tab +++ b/erts/emulator/beam/ops.tab @@ -373,11 +373,12 @@ swap y y move SD=x D=x | move Src=cxy SD=x | distinct(D, Src) => move_shift Src SD D move SD=y D=x | move Src=x SD=y | distinct(D, Src) => move_shift Src SD D +move SD=y D=x | init SD | => move_shift n SD D move SD=x D=y | move Src=x SD=x | distinct(D, Src) => move_shift Src SD D move SD=x==0 D=y | move Src=y SD=x==0 | distinct(D, Src) => move_shift Src SD D move_shift cxy x x -move_shift x y x +move_shift nx y x move_shift x x y move_shift y r y |