aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2011-06-13 14:23:09 +0200
committerBjörn Gustavsson <[email protected]>2011-10-11 10:08:46 +0200
commit802dd95ab279c3d9b56d5beae6519b1cfd16f325 (patch)
tree0df1a33b92ceeecaaf9d4d917f442981f525b735
parent6ca6dd3c670fb8185ebb9a20c2a731a7375c1cac (diff)
downloadotp-802dd95ab279c3d9b56d5beae6519b1cfd16f325.tar.gz
otp-802dd95ab279c3d9b56d5beae6519b1cfd16f325.tar.bz2
otp-802dd95ab279c3d9b56d5beae6519b1cfd16f325.zip
Remove optimization of 'move R R'
Ancient versions of BEAM compiler could generate move instruction with the same source and destination registers, so the loader would optimize away such instructions.
-rw-r--r--erts/emulator/beam/ops.tab2
1 files changed, 0 insertions, 2 deletions
diff --git a/erts/emulator/beam/ops.tab b/erts/emulator/beam/ops.tab
index 538f0b94af..1dba2128f4 100644
--- a/erts/emulator/beam/ops.tab
+++ b/erts/emulator/beam/ops.tab
@@ -310,8 +310,6 @@ raise s s
badarg j
system_limit j
-move R R =>
-
move C=cxy r | jump Lbl => move_jump Lbl C
%macro: move_jump MoveJump -nonext