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 54e608a commit 9a40305Copy full SHA for 9a40305
lib/SIL/Linker.cpp
@@ -62,10 +62,7 @@ bool SILLinkerVisitor::processFunction(SILFunction *F) {
62
bool SILLinkerVisitor::linkInVTable(ClassDecl *D) {
63
// Attempt to lookup the Vtbl from the SILModule.
64
SILVTable *Vtbl = Mod.lookUpVTable(D);
65
-
66
- // If the SILModule does not have the VTable, attempt to deserialize the
67
- // VTable. If we fail to do that as well, bail.
68
- if (!Vtbl || !(Vtbl = Loader->lookupVTable(D->getName())))
+ if (!Vtbl)
69
return false;
70
71
// Ok we found our VTable. Visit each function referenced by the VTable. If
0 commit comments