aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/macros.tab
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2017-09-04 15:39:58 +0200
committerBjörn Gustavsson <[email protected]>2017-09-14 10:16:07 +0200
commitef43e32b450df2fdf1c731e9be03693fb0b69e31 (patch)
treeacfed1cfd815815360e597b968296fdc97a8dc8f /erts/emulator/beam/macros.tab
parent8650d6d811bb99490e1a75cbbab684a673a950ba (diff)
downloadotp-ef43e32b450df2fdf1c731e9be03693fb0b69e31.tar.gz
otp-ef43e32b450df2fdf1c731e9be03693fb0b69e31.tar.bz2
otp-ef43e32b450df2fdf1c731e9be03693fb0b69e31.zip
Remove JUMP_OFFSET
It has served its purpose.
Diffstat (limited to 'erts/emulator/beam/macros.tab')
-rw-r--r--erts/emulator/beam/macros.tab6
1 files changed, 3 insertions, 3 deletions
diff --git a/erts/emulator/beam/macros.tab b/erts/emulator/beam/macros.tab
index 959f7b28df..35460da1f4 100644
--- a/erts/emulator/beam/macros.tab
+++ b/erts/emulator/beam/macros.tab
@@ -29,8 +29,8 @@ REFRESH_GEN_DEST() {
}
SET_I_REL(Offset) {
- ASSERT(VALID_INSTR(* (Eterm *)((BeamInstr *) ($Offset) + JUMP_OFFSET)));
- I = (BeamInstr *) $Offset + JUMP_OFFSET;
+ ASSERT(VALID_INSTR(* (Eterm *)((BeamInstr *) ($Offset))));
+ I = (BeamInstr *) $Offset;
}
SET_CP_I_ABS(Target) {
@@ -39,7 +39,7 @@ SET_CP_I_ABS(Target) {
}
SET_REL_I(Dst, Offset) {
- $Dst = (BeamInstr *) ($Offset) + JUMP_OFFSET;
+ $Dst = (BeamInstr *) ($Offset);
ASSERT(VALID_INSTR(*$Dst));
}