mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[embedded] Avoid overwriting entries in the VTableMap (fix typo)
This commit is contained in:
@@ -523,7 +523,7 @@ SILVTable *SILModule::lookUpVTable(const ClassDecl *C,
|
||||
if (!Vtbl) {
|
||||
return TypeWalker::Action::Stop;
|
||||
}
|
||||
VTableMap[C] = Vtbl;
|
||||
VTableMap[S] = Vtbl;
|
||||
return TypeWalker::Action::Continue;
|
||||
})) {
|
||||
return nullptr;
|
||||
|
||||
Reference in New Issue
Block a user