diff options
author | Björn-Egil Dahlberg <[email protected]> | 2015-07-01 15:09:58 +0200 |
---|---|---|
committer | Björn-Egil Dahlberg <[email protected]> | 2015-07-01 15:09:58 +0200 |
commit | 3bda47f2f26dd417fbd65d5f46b2ab8411a2a41f (patch) | |
tree | 1c7e2e71c2c7172f5b41d15624fcaf2f19ef1d20 /erts/emulator/beam/beam_emu.c | |
parent | db2e9773f95a79b40e197031c7b8782392fa9d02 (diff) | |
download | otp-3bda47f2f26dd417fbd65d5f46b2ab8411a2a41f.tar.gz otp-3bda47f2f26dd417fbd65d5f46b2ab8411a2a41f.tar.bz2 otp-3bda47f2f26dd417fbd65d5f46b2ab8411a2a41f.zip |
erts: Remove halfword !HEAP_ON_C_STACK
Diffstat (limited to 'erts/emulator/beam/beam_emu.c')
-rw-r--r-- | erts/emulator/beam/beam_emu.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/erts/emulator/beam/beam_emu.c b/erts/emulator/beam/beam_emu.c index f4111c19f1..806b31654c 100644 --- a/erts/emulator/beam/beam_emu.c +++ b/erts/emulator/beam/beam_emu.c @@ -1165,11 +1165,7 @@ void process_main(void) */ register Eterm tmp_arg1 REG_tmp_arg1 = NIL; register Eterm tmp_arg2 REG_tmp_arg2 = NIL; -#if HEAP_ON_C_STACK - Eterm tmp_big[2]; /* Temporary buffer for small bignums if HEAP_ON_C_STACK. */ -#else - Eterm *tmp_big; /* Temporary buffer for small bignums if !HEAP_ON_C_STACK. */ -#endif + Eterm tmp_big[2]; /* * X registers and floating point registers are located in @@ -1261,9 +1257,6 @@ void process_main(void) reg = ERTS_PROC_GET_SCHDATA(c_p)->x_reg_array; freg = ERTS_PROC_GET_SCHDATA(c_p)->f_reg_array; -#if !HEAP_ON_C_STACK - tmp_big = ERTS_PROC_GET_SCHDATA(c_p)->beam_emu_tmp_heap; -#endif ERL_BITS_RELOAD_STATEP(c_p); { int reds; |