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
...@@ -117,14 +117,9 @@ typedef union { ...@@ -117,14 +117,9 @@ typedef union {
// layout.payload // layout.payload
struct { struct {
// See StgClosureInfo in InfoTables.h // See StgClosureInfo in InfoTables.h
#if SIZEOF_VOID_P == 8 StgHalfWord pos;
StgWord32 pos; StgHalfWord ptrs;
StgWord32 ptrs;
#else
StgWord16 pos;
StgWord16 ptrs;
#endif
StgPtr payload; StgPtr payload;
} ptrs; } 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