diff options
author | Sverker Eriksson <[email protected]> | 2014-04-25 22:31:41 +0200 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2014-04-29 16:17:55 +0200 |
commit | 23246d73bbd3188e2c0a45408b9bd29fd034ccaf (patch) | |
tree | 63e0a5ec04187a00da149f3ee622b1dba1103914 /erts/emulator/beam/beam_emu.c | |
parent | 07b8f441ca711f9812fad9e9115bab3c3aa92f79 (diff) | |
download | otp-23246d73bbd3188e2c0a45408b9bd29fd034ccaf.tar.gz otp-23246d73bbd3188e2c0a45408b9bd29fd034ccaf.tar.bz2 otp-23246d73bbd3188e2c0a45408b9bd29fd034ccaf.zip |
erts: Save some space in process struct for hipe
by combining hipe.ncallee and hipe.closure in a union
as the comment indicate should be possible.
Diffstat (limited to 'erts/emulator/beam/beam_emu.c')
-rw-r--r-- | erts/emulator/beam/beam_emu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/erts/emulator/beam/beam_emu.c b/erts/emulator/beam/beam_emu.c index 1026e5f649..f6524f36d2 100644 --- a/erts/emulator/beam/beam_emu.c +++ b/erts/emulator/beam/beam_emu.c @@ -4993,14 +4993,14 @@ get_map_elements_fail: * ... remainder of original BEAM code */ ASSERT(I[-5] == (Uint) OpCode(i_func_info_IaaI)); - c_p->hipe.ncallee = (void(*)(void)) I[-4]; + c_p->hipe.u.ncallee = (void(*)(void)) I[-4]; cmd = HIPE_MODE_SWITCH_CMD_CALL | (I[-1] << 8); ++hipe_trap_count; goto L_hipe_mode_switch; } OpCase(hipe_trap_call_closure): { ASSERT(I[-5] == (Uint) OpCode(i_func_info_IaaI)); - c_p->hipe.ncallee = (void(*)(void)) I[-4]; + c_p->hipe.u.ncallee = (void(*)(void)) I[-4]; cmd = HIPE_MODE_SWITCH_CMD_CALL_CLOSURE | (I[-1] << 8); ++hipe_trap_count; goto L_hipe_mode_switch; |