diff options
author | Björn Gustavsson <[email protected]> | 2019-02-14 12:14:11 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2019-02-14 12:14:11 +0100 |
commit | 00426174b3d0c07df093a0bd0a086c0c37a11d04 (patch) | |
tree | 368160f092613d9c2a40bc45391ae385afc1fe97 /erts/emulator/beam/beam_emu.c | |
parent | e54daec589fc0da3d454f683eee2ea1af8eb7684 (diff) | |
download | otp-00426174b3d0c07df093a0bd0a086c0c37a11d04.tar.gz otp-00426174b3d0c07df093a0bd0a086c0c37a11d04.tar.bz2 otp-00426174b3d0c07df093a0bd0a086c0c37a11d04.zip |
Revert "Add -ztma option for enabling tuple calls"
This reverts commit ea0e763e953f9c7d1fa9c142f24cb95f56119c56.
Diffstat (limited to 'erts/emulator/beam/beam_emu.c')
-rw-r--r-- | erts/emulator/beam/beam_emu.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/erts/emulator/beam/beam_emu.c b/erts/emulator/beam/beam_emu.c index a6fd2d7f07..6fdfc75b1f 100644 --- a/erts/emulator/beam/beam_emu.c +++ b/erts/emulator/beam/beam_emu.c @@ -383,7 +383,6 @@ do { \ # define NOINLINE #endif -int tuple_module_apply; /* * The following functions are called directly by process_main(). @@ -2233,7 +2232,7 @@ apply(Process* p, Eterm* reg, BeamInstr *I, Uint stack_offset) if (is_not_atom(module)) { Eterm* tp; - if (!tuple_module_apply || is_not_tuple(module)) goto error; + if (is_not_tuple(module)) goto error; tp = tuple_val(module); if (arityval(tp[0]) < 1) goto error; this = module; @@ -2339,7 +2338,7 @@ fixed_apply(Process* p, Eterm* reg, Uint arity, */ if (is_not_atom(module)) { Eterm* tp; - if (!tuple_module_apply || is_not_tuple(module)) goto error; + if (is_not_tuple(module)) goto error; tp = tuple_val(module); if (arityval(tp[0]) < 1) goto error; module = tp[1]; |