Remove set but unused variable in BitcodeReader.cpp. NFC.

llvm-svn: 301713
This commit is contained in:
Hans Wennborg 2017-04-28 23:11:16 +00:00
parent 0f88d863b4
commit 513dc805eb
1 changed files with 0 additions and 4 deletions

View File

@ -4969,7 +4969,6 @@ Error ModuleSummaryIndexBitcodeReader::parseEntireSummary(
// "OriginalName" attachement. // "OriginalName" attachement.
GlobalValueSummary *LastSeenSummary = nullptr; GlobalValueSummary *LastSeenSummary = nullptr;
GlobalValue::GUID LastSeenGUID = 0; GlobalValue::GUID LastSeenGUID = 0;
bool Combined = false;
// We can expect to see any number of type ID information records before // We can expect to see any number of type ID information records before
// each function summary records; these variables store the information // each function summary records; these variables store the information
@ -5136,7 +5135,6 @@ Error ModuleSummaryIndexBitcodeReader::parseEntireSummary(
LastSeenGUID = GUID; LastSeenGUID = GUID;
FS->setModulePath(ModuleIdMap[ModuleId]); FS->setModulePath(ModuleIdMap[ModuleId]);
TheIndex.addGlobalValueSummary(GUID, std::move(FS)); TheIndex.addGlobalValueSummary(GUID, std::move(FS));
Combined = true;
break; break;
} }
// FS_COMBINED_ALIAS: [valueid, modid, flags, valueid] // FS_COMBINED_ALIAS: [valueid, modid, flags, valueid]
@ -5162,7 +5160,6 @@ Error ModuleSummaryIndexBitcodeReader::parseEntireSummary(
GlobalValue::GUID GUID = getGUIDFromValueId(ValueID).first; GlobalValue::GUID GUID = getGUIDFromValueId(ValueID).first;
LastSeenGUID = GUID; LastSeenGUID = GUID;
TheIndex.addGlobalValueSummary(GUID, std::move(AS)); TheIndex.addGlobalValueSummary(GUID, std::move(AS));
Combined = true;
break; break;
} }
// FS_COMBINED_GLOBALVAR_INIT_REFS: [valueid, modid, flags, n x valueid] // FS_COMBINED_GLOBALVAR_INIT_REFS: [valueid, modid, flags, n x valueid]
@ -5179,7 +5176,6 @@ Error ModuleSummaryIndexBitcodeReader::parseEntireSummary(
GlobalValue::GUID GUID = getGUIDFromValueId(ValueID).first; GlobalValue::GUID GUID = getGUIDFromValueId(ValueID).first;
LastSeenGUID = GUID; LastSeenGUID = GUID;
TheIndex.addGlobalValueSummary(GUID, std::move(FS)); TheIndex.addGlobalValueSummary(GUID, std::move(FS));
Combined = true;
break; break;
} }
// FS_COMBINED_ORIGINAL_NAME: [original_name] // FS_COMBINED_ORIGINAL_NAME: [original_name]