Address Mehdi's post-commit review comments on r294795.

llvm-svn: 294822
This commit is contained in:
Peter Collingbourne
2017-02-11 03:19:22 +00:00
parent fe6f548d2d
commit fa3175f2f6
2 changed files with 55 additions and 29 deletions

View File

@@ -4847,6 +4847,10 @@ Error ModuleSummaryIndexBitcodeReader::parseEntireSummary(
// "OriginalName" attachement.
GlobalValueSummary *LastSeenSummary = nullptr;
bool Combined = false;
// We can expect to see any number of type ID information records before
// each function summary records; these variables store the information
// collected so far so that it can be used to create the summary object.
std::vector<GlobalValue::GUID> PendingTypeTests;
std::vector<FunctionSummary::VFuncId> PendingTypeTestAssumeVCalls,
PendingTypeCheckedLoadVCalls;