diff options
author | Björn Gustavsson <[email protected]> | 2011-02-23 08:35:21 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2011-02-23 11:20:23 +0100 |
commit | b939f70dd90152d48d2f2f10e650cc2115742489 (patch) | |
tree | 18de1334992efedfc146198b4213b7335eeaaee0 /erts/emulator/beam | |
parent | 84884b96de521491d34a19b1b3497d3d76549126 (diff) | |
download | otp-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/emulator/beam')
-rw-r--r-- | erts/emulator/beam/beam_emu.c | 1 |
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; |