[ThinLTO] Remove useless code (NFC)

Should have been removed in r288446.

llvm-svn: 289466
This commit is contained in:
Teresa Johnson 2016-12-12 20:34:28 +00:00
parent b8c997f1d2
commit a29bd6ffcc
1 changed files with 0 additions and 4 deletions

View File

@ -264,10 +264,6 @@ static void exportGlobalInModule(const ModuleSummaryIndex &Index,
return;
// We found it in the current module, mark as exported
ExportList.insert(GUID);
auto GVS = dyn_cast<GlobalVarSummary>(Summary);
if (!GVS)
return;
}
using EdgeInfo = std::pair<const FunctionSummary *, unsigned /* Threshold */>;