Commit 69c974fe authored by wereHamster's avatar wereHamster Committed by Ben Gamari

Use StgHalfWord instead of a CPP #if

Reviewers: simonmar, bgamari, austin

Reviewed By: bgamari, austin

Subscribers: thomie

Differential Revision: https://phabricator.haskell.org/D2183
parent 6bf0eef7
......@@ -118,13 +118,8 @@ typedef union {
// layout.payload
struct {
// See StgClosureInfo in InfoTables.h
#if SIZEOF_VOID_P == 8
StgWord32 pos;
StgWord32 ptrs;
#else
StgWord16 pos;
StgWord16 ptrs;
#endif
StgHalfWord pos;
StgHalfWord ptrs;
StgPtr payload;
} ptrs;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment