Skip to content

Commit c9c2169

Browse files
committed
SIL: fix static size assert for SILNode for 32 bit builds
rdar://101766531
1 parent dc3978f commit c9c2169

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/swift/SIL/SILNode.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,7 @@ class alignas(8) SILNode :
395395
static bool classof(SILNodePointer node) { return true; }
396396
};
397397

398-
static_assert(sizeof(SILNode) <= 4 * sizeof(void *),
398+
static_assert(sizeof(SILNode) <= 4 * sizeof(uint64_t),
399399
"SILNode must stay small");
400400

401401
inline llvm::raw_ostream &operator<<(llvm::raw_ostream &OS,

0 commit comments

Comments
 (0)