aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/beam_emu.c
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2017-08-16 07:03:13 +0200
committerBjörn Gustavsson <[email protected]>2017-08-23 05:57:38 +0200
commit83d5a3cfb5e55e6877ddecf3d33dccf0d3197520 (patch)
tree9a806b7bb6094ec1a4ff8439cdd770b1d9acb807 /erts/emulator/beam/beam_emu.c
parent31f43558f0b6b1652b4d3be96fe83a616e070a0d (diff)
downloadotp-83d5a3cfb5e55e6877ddecf3d33dccf0d3197520.tar.gz
otp-83d5a3cfb5e55e6877ddecf3d33dccf0d3197520.tar.bz2
otp-83d5a3cfb5e55e6877ddecf3d33dccf0d3197520.zip
beam_emu: Remove unused macros
Diffstat (limited to 'erts/emulator/beam/beam_emu.c')
-rw-r--r--erts/emulator/beam/beam_emu.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/erts/emulator/beam/beam_emu.c b/erts/emulator/beam/beam_emu.c
index e5935f5f02..8ae5c23e0d 100644
--- a/erts/emulator/beam/beam_emu.c
+++ b/erts/emulator/beam/beam_emu.c
@@ -154,9 +154,6 @@ do { \
*/
#define REG_TARGET_PTR(Target) (((Target) & 1) ? &yb(Target-1) : &xb(Target))
-#define REG_TARGET(Target) (*REG_TARGET_PTR(Target))
-
-#define ISCATCHEND(instr) ((Eterm *) *(instr) == OpCode(catch_end_y))
/*
* Special Beam instructions.
@@ -318,10 +315,6 @@ void** beam_ops;
#endif
#define Arg(N) I[(N)+1]
-#define Next(N) \
- I += (N) + 1; \
- ASSERT(VALID_INSTR(*I)); \
- Goto(*I)
#define GetR(pos, tr) \
do { \