aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--erts/emulator/beam/ops.tab3
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