diff options
author | Björn Gustavsson <[email protected]> | 2010-04-27 11:07:29 +0200 |
---|---|---|
committer | Raimo Niskanen <[email protected]> | 2010-05-20 12:20:49 +0200 |
commit | 2bbfb378e90ac6569c950571c26a207ed8e559db (patch) | |
tree | 324c59d1eb9ec27f78146f70cdb2af5e587c68df /erts/emulator/beam/beam_emu.c | |
parent | 55a79d5ebacd51ba11f4bbdb29b8844382a78113 (diff) | |
download | otp-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.c | 6 |
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; |