aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/hipe/hipe_x86_gc.h
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2016-10-04 12:26:54 +0200
committerSverker Eriksson <[email protected]>2016-10-10 11:31:54 +0200
commit9cb85a8cd1e02263f34c57aac68d16a2f1c03180 (patch)
treec93cab8f8529090e8d66d6317cea9bdf15a6b16a /erts/emulator/hipe/hipe_x86_gc.h
parent3bffb5797c9498e2294b65ba24abec5842655a11 (diff)
downloadotp-9cb85a8cd1e02263f34c57aac68d16a2f1c03180.tar.gz
otp-9cb85a8cd1e02263f34c57aac68d16a2f1c03180.tar.bz2
otp-9cb85a8cd1e02263f34c57aac68d16a2f1c03180.zip
erts: Refactor hipe_sdesc.summary into bit fields
Diffstat (limited to 'erts/emulator/hipe/hipe_x86_gc.h')
-rw-r--r--erts/emulator/hipe/hipe_x86_gc.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/erts/emulator/hipe/hipe_x86_gc.h b/erts/emulator/hipe/hipe_x86_gc.h
index c025259871..7802076f70 100644
--- a/erts/emulator/hipe/hipe_x86_gc.h
+++ b/erts/emulator/hipe/hipe_x86_gc.h
@@ -68,7 +68,9 @@ nstack_walk_init_sdesc(const Process *p, struct nstack_walk_state *state)
unsigned int nstkarity = p->hipe.narity - NR_ARG_REGS;
if ((int)nstkarity < 0)
nstkarity = 0;
- state->sdesc0[0].summary = (0 << 9) | (0 << 8) | nstkarity;
+ state->sdesc0[0].fsize = 0;
+ state->sdesc0[0].has_exnra = 0;
+ state->sdesc0[0].arity = nstkarity;
state->sdesc0[0].livebits[0] = 0;
# ifdef DEBUG
state->sdesc0[0].dbg_M = 0;