We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f239740 commit 7827b75Copy full SHA for 7827b75
include/swift/Reflection/ReflectionContext.h
@@ -138,7 +138,7 @@ class ReflectionContext
138
139
switch (ExistentialRecordTI->getRecordKind()) {
140
// Class existentials have trivial layout.
141
- // The first word of the 3-word buffer has a pointer to the class instance.
+ // It is itself the pointer to the instance followed by the witness tables.
142
case RecordKind::ClassExistential:
143
*OutInstanceTR = getBuilder().getTypeConverter().getUnknownObjectTypeRef();
144
*OutInstanceAddress = ExistentialAddress;
0 commit comments