Skip to content

Commit 86ac641

Browse files
[Prototype] Fix vtable type reference
1 parent f569f7d commit 86ac641

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Serialization/ModuleSummaryIndexer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,7 @@ void ModuleSummaryIndexer::indexWitnessTable(const SILWitnessTable &WT) {
403403
}
404404

405405
void ModuleSummaryIndexer::indexVTable(const SILVTable &VT) {
406-
auto typeGUID = getTypeGUID(VT.getClass()->getInterfaceType());
406+
auto typeGUID = getTypeGUID(VT.getClass()->getDeclaredType()->getCanonicalType());
407407
for (auto entry : VT.getEntries()) {
408408
auto Impl = entry.getImplementation();
409409
if (entry.getMethod().kind == SILDeclRef::Kind::Deallocator ||

0 commit comments

Comments
 (0)