forked from OSchip/llvm-project
[ThinLTO] Remove useless code (NFC)
Should have been removed in r288446. llvm-svn: 289466
This commit is contained in:
parent
b8c997f1d2
commit
a29bd6ffcc
|
@ -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 */>;
|
||||
|
|
Loading…
Reference in New Issue