aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/beam_emu.c
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2010-04-27 11:07:29 +0200
committerRaimo Niskanen <[email protected]>2010-05-20 12:20:49 +0200
commit2bbfb378e90ac6569c950571c26a207ed8e559db (patch)
tree324c59d1eb9ec27f78146f70cdb2af5e587c68df /erts/emulator/beam/beam_emu.c
parent55a79d5ebacd51ba11f4bbdb29b8844382a78113 (diff)
downloadotp-2bbfb378e90ac6569c950571c26a207ed8e559db.tar.gz
otp-2bbfb378e90ac6569c950571c26a207ed8e559db.tar.bz2
otp-2bbfb378e90ac6569c950571c26a207ed8e559db.zip
erts: Stop supporting non-literal empty tuples
Since R12B, empty tuples are literals. Thus the compiler will no longer generate the instruction: put_tuple 0 Destination for creating an empty tuple. It is now time to stop supporting that instruction in the run-time system. While we are at it, correct a typo.
Diffstat (limited to 'erts/emulator/beam/beam_emu.c')
-rw-r--r--erts/emulator/beam/beam_emu.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/erts/emulator/beam/beam_emu.c b/erts/emulator/beam/beam_emu.c
index f0b04535dd..eb95999e55 100644
--- a/erts/emulator/beam/beam_emu.c
+++ b/erts/emulator/beam/beam_emu.c
@@ -3217,12 +3217,6 @@ apply_bif_or_nif_epilogue:
StoreBifResult(1, result);
}
- OpCase(i_put_tuple_only_Ad): {
- tmp_arg1 = make_tuple(HTOP);
- *HTOP++ = Arg(0);
- StoreBifResult(1, tmp_arg1);
- }
-
OpCase(case_end_s):
GetArg1(0, tmp_arg1);
c_p->fvalue = tmp_arg1;