mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[deserialization] Enable deserialization of VTables by default.
Swift SVN r15635
This commit is contained in:
@@ -353,8 +353,10 @@ static SILValue findOrigin(SILValue S) {
|
||||
break;
|
||||
|
||||
SILFunction *F = FR->getReferencedFunction();
|
||||
if (!F->size())
|
||||
break;
|
||||
if (F->isExternalDeclaration()) {
|
||||
if (!F->getModule().linkFunction(F, SILModule::LinkingMode::LinkAll))
|
||||
break;
|
||||
}
|
||||
|
||||
// Does this function return one of its arguments ?
|
||||
int RetArg = functionReturnsArgument(F);
|
||||
|
||||
Reference in New Issue
Block a user