WholeProgramDevirt - fix uninitialized variable warnings. NFCI.

This commit is contained in:
Simon Pilgrim 2019-11-14 13:54:29 +00:00
parent f784ad8ff3
commit 39c0829a55
1 changed files with 2 additions and 2 deletions

View File

@ -616,8 +616,8 @@ struct WholeProgramDevirt : public ModulePass {
bool UseCommandLine = false;
ModuleSummaryIndex *ExportSummary;
const ModuleSummaryIndex *ImportSummary;
ModuleSummaryIndex *ExportSummary = nullptr;
const ModuleSummaryIndex *ImportSummary = nullptr;
WholeProgramDevirt() : ModulePass(ID), UseCommandLine(true) {
initializeWholeProgramDevirtPass(*PassRegistry::getPassRegistry());