diff options
author | Björn Gustavsson <[email protected]> | 2017-09-04 15:39:58 +0200 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2017-09-14 10:16:07 +0200 |
commit | ef43e32b450df2fdf1c731e9be03693fb0b69e31 (patch) | |
tree | acfed1cfd815815360e597b968296fdc97a8dc8f /erts/emulator/beam/macros.tab | |
parent | 8650d6d811bb99490e1a75cbbab684a673a950ba (diff) | |
download | otp-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.tab | 6 |
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)); } |