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/hipe/hipe_mkliterals.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/hipe/hipe_mkliterals.c')
-rw-r--r-- | erts/emulator/hipe/hipe_mkliterals.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/erts/emulator/hipe/hipe_mkliterals.c b/erts/emulator/hipe/hipe_mkliterals.c index 0e287908b1..23e9214cec 100644 --- a/erts/emulator/hipe/hipe_mkliterals.c +++ b/erts/emulator/hipe/hipe_mkliterals.c @@ -498,8 +498,8 @@ static const struct rts_param rts_params[] = { { 38, "P_ARG4", 1, offsetof(struct process, def_arg_reg[4]) }, { 39, "P_ARG5", 1, offsetof(struct process, def_arg_reg[5]) }, { 40, "P_NSP", 1, offsetof(struct process, hipe.nsp) }, - { 41, "P_NCALLEE", 1, offsetof(struct process, hipe.ncallee) }, - { 42, "P_CLOSURE", 1, offsetof(struct process, hipe.closure) }, + { 41, "P_NCALLEE", 1, offsetof(struct process, hipe.u.ncallee) }, + { 42, "P_CLOSURE", 1, offsetof(struct process, hipe.u.closure) }, { 43, "P_NSP_LIMIT", 1, offsetof(struct process, hipe.nstack) }, { 44, "P_CSP", #if defined(__i386__) || defined(__x86_64__) |