Skip to content

Commit 4e65e14

Browse files
authored
Merge pull request #61868 from eeckstein/fix-silnode-size-assert
SIL: fix static size assert for SILNode for 32 bit builds
2 parents 7ae2362 + c9c2169 commit 4e65e14

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)