[deserialization] Enable deserialization of VTables by default.

Swift SVN r15635
This commit is contained in:
Michael Gottesman
2014-03-29 21:58:55 +00:00
parent 08cd417faf
commit 6946e86d0e
5 changed files with 201 additions and 45 deletions

View File

@@ -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);