diff options
author | Björn Gustavsson <[email protected]> | 2011-02-20 09:55:54 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2011-02-23 11:21:23 +0100 |
commit | 84da094f755c32b507d91ff2269218c43b7e9624 (patch) | |
tree | 2ab2c96c2381f6c9894a9d9584728b6c356a2640 /erts/emulator | |
parent | b939f70dd90152d48d2f2f10e650cc2115742489 (diff) | |
download | otp-84da094f755c32b507d91ff2269218c43b7e9624.tar.gz otp-84da094f755c32b507d91ff2269218c43b7e9624.tar.bz2 otp-84da094f755c32b507d91ff2269218c43b7e9624.zip |
beam_emu: Eliminate redundant #ifdef
The halfword emulator used to require special handling,
but no longer does.
Diffstat (limited to 'erts/emulator')
-rw-r--r-- | erts/emulator/beam/beam_emu.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/erts/emulator/beam/beam_emu.c b/erts/emulator/beam/beam_emu.c index 733f91705e..12a8022861 100644 --- a/erts/emulator/beam/beam_emu.c +++ b/erts/emulator/beam/beam_emu.c @@ -5864,9 +5864,6 @@ build_stacktrace(Process* c_p, Eterm exc) { Eterm args; int depth; BeamInstr* current; -#if HALFWORD_HEAP - BeamInstr current_buff[3]; -#endif Eterm Where = NIL; Eterm *next_p = &Where; @@ -5896,14 +5893,7 @@ build_stacktrace(Process* c_p, Eterm exc) { * (e.g. spawn_link(erlang, abs, [1])). */ if (current == NULL) { -#if HALFWORD_HEAP - current = current_buff; - current[0] = (BeamInstr) c_p->initial[0]; - current[1] = (BeamInstr) c_p->initial[1]; - current[2] = (BeamInstr) c_p->initial[2]; -#else current = c_p->initial; -#endif args = am_true; /* Just in case */ } else { args = get_args_from_exc(exc); |