aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/beam_emu.c
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2015-03-20 15:07:24 +0100
committerBjörn Gustavsson <[email protected]>2015-04-13 12:37:54 +0200
commitee91c4291212035b8e054072407c74afdd66f1d0 (patch)
tree404c672d4f2ccaced3c088f3f54bfb6c7a8fe608 /erts/emulator/beam/beam_emu.c
parent8c5a577ed55a607841989763d78b3950eebd5b5f (diff)
downloadotp-ee91c4291212035b8e054072407c74afdd66f1d0.tar.gz
otp-ee91c4291212035b8e054072407c74afdd66f1d0.tar.bz2
otp-ee91c4291212035b8e054072407c74afdd66f1d0.zip
Remove the fail label operand of the new_map instruction
The new_map instruction cannot fail, and thus needs no fail label.
Diffstat (limited to 'erts/emulator/beam/beam_emu.c')
-rw-r--r--erts/emulator/beam/beam_emu.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/erts/emulator/beam/beam_emu.c b/erts/emulator/beam/beam_emu.c
index fdb84aae42..a264669e50 100644
--- a/erts/emulator/beam/beam_emu.c
+++ b/erts/emulator/beam/beam_emu.c
@@ -2379,16 +2379,16 @@ void process_main(void)
Goto(*I);
}
- OpCase(new_map_jdII): {
+ OpCase(new_map_dII): {
Eterm res;
x(0) = r(0);
SWAPOUT;
- res = new_map(c_p, reg, I);
+ res = new_map(c_p, reg, I-1);
SWAPIN;
r(0) = x(0);
- StoreResult(res, Arg(1));
- Next(4+Arg(3));
+ StoreResult(res, Arg(0));
+ Next(3+Arg(2));
}
OpCase(i_has_map_fields_fsI): {