aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2015-06-17 16:33:19 +0200
committerBjörn Gustavsson <[email protected]>2015-07-03 14:34:57 +0200
commitbf2b06d3edd2c855071529be17c0c35e778a88fa (patch)
tree514b791fc860d94667035b09fb1ad265c4217af3
parentbede3941be8629efa4d91755c085a91b1416d432 (diff)
downloadotp-bf2b06d3edd2c855071529be17c0c35e778a88fa.tar.gz
otp-bf2b06d3edd2c855071529be17c0c35e778a88fa.tar.bz2
otp-bf2b06d3edd2c855071529be17c0c35e778a88fa.zip
Remove the i_fetch instruction
-rw-r--r--erts/emulator/beam/beam_emu.c2
-rw-r--r--erts/emulator/beam/ops.tab15
2 files changed, 0 insertions, 17 deletions
diff --git a/erts/emulator/beam/beam_emu.c b/erts/emulator/beam/beam_emu.c
index 26e28832cf..fe3d8aea28 100644
--- a/erts/emulator/beam/beam_emu.c
+++ b/erts/emulator/beam/beam_emu.c
@@ -148,8 +148,6 @@ do { \
ASSERT(VALID_INSTR(* (Eterm *)(ip))); \
I = (ip)
-#define FetchArgs(S1, S2) tmp_arg1 = (S1); tmp_arg2 = (S2)
-
/*
* Store a result into a register given a destination descriptor.
*/
diff --git a/erts/emulator/beam/ops.tab b/erts/emulator/beam/ops.tab
index 637cef0a22..631e10215c 100644
--- a/erts/emulator/beam/ops.tab
+++ b/erts/emulator/beam/ops.tab
@@ -486,21 +486,6 @@ put_list c y y
put_list s s d
%hot
-%macro: i_fetch FetchArgs -pack
-i_fetch c x
-i_fetch c y
-i_fetch x c
-i_fetch x x
-i_fetch x y
-i_fetch y c
-i_fetch y x
-i_fetch y y
-
-%cold
-i_fetch c c
-i_fetch s s
-%hot
-
#
# Some more only used by the emulator
#