aboutsummaryrefslogtreecommitdiffstats
path: root/erts
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2011-02-23 08:35:21 +0100
committerBjörn Gustavsson <[email protected]>2011-02-23 11:20:23 +0100
commitb939f70dd90152d48d2f2f10e650cc2115742489 (patch)
tree18de1334992efedfc146198b4213b7335eeaaee0 /erts
parent84884b96de521491d34a19b1b3497d3d76549126 (diff)
downloadotp-b939f70dd90152d48d2f2f10e650cc2115742489.tar.gz
otp-b939f70dd90152d48d2f2f10e650cc2115742489.tar.bz2
otp-b939f70dd90152d48d2f2f10e650cc2115742489.zip
beam_emu: Remove unnecessary decrement of I in "case_end r"
It is not necessary to decrement I, because an exception is about to be generated. Furthermore, I pointing *before* the instruction that caused the exception may cause problems in the future.
Diffstat (limited to 'erts')
-rw-r--r--erts/emulator/beam/beam_emu.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/erts/emulator/beam/beam_emu.c b/erts/emulator/beam/beam_emu.c
index 16741aa2d7..733f91705e 100644
--- a/erts/emulator/beam/beam_emu.c
+++ b/erts/emulator/beam/beam_emu.c
@@ -3424,7 +3424,6 @@ void process_main(void)
OpCase(case_end_r):
case_end_val = r(0);
- I--;
do_case_end:
c_p->fvalue = case_end_val;