aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/hipe/hipe_stack.c
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_stack.c
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_stack.c')
-rw-r--r--erts/emulator/hipe/hipe_stack.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/erts/emulator/hipe/hipe_stack.c b/erts/emulator/hipe/hipe_stack.c
index a26132431b..17bef0718c 100644
--- a/erts/emulator/hipe/hipe_stack.c
+++ b/erts/emulator/hipe/hipe_stack.c
@@ -175,7 +175,9 @@ struct hipe_sdesc *hipe_decode_sdesc(Eterm arg)
/* Initialise head of sdesc. */
sdesc->bucket.next = 0;
sdesc->bucket.hvalue = ra;
- sdesc->summary = (fsize << 9) | (exnra ? (1<<8) : 0) | arity;
+ sdesc->fsize = fsize;
+ sdesc->has_exnra = (exnra ? 1 : 0);
+ sdesc->arity = arity;
/* Clear all live-bits */
for (i = 0; i < livebitswords; ++i)
sdesc->livebits[i] = 0;