Skip to content

Commit b0e0408

Browse files
committed
Fix size of bridged classes
This is needed to fix the static assertions in the file that were failing because a new member was added to SILDeclRef.
1 parent d5e3b4b commit b0e0408

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

include/swift/SIL/SILBridging.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1081,7 +1081,7 @@ struct BridgedSuccessorArray {
10811081
};
10821082

10831083
struct BridgedDeclRef {
1084-
uint64_t storage[3];
1084+
uint64_t storage[4];
10851085

10861086
#ifdef USED_IN_CPP_SOURCE
10871087
BridgedDeclRef(swift::SILDeclRef declRef) {
@@ -1098,7 +1098,7 @@ struct BridgedDeclRef {
10981098
};
10991099

11001100
struct BridgedVTableEntry {
1101-
uint64_t storage[5];
1101+
uint64_t storage[6];
11021102

11031103
enum class Kind {
11041104
Normal,
@@ -1146,7 +1146,7 @@ struct OptionalBridgedVTable {
11461146
};
11471147

11481148
struct BridgedWitnessTableEntry {
1149-
uint64_t storage[5];
1149+
uint64_t storage[6];
11501150

11511151
enum class Kind {
11521152
invalid,

0 commit comments

Comments
 (0)