diff options
author | Hans Wennborg <hans@hanshq.net> | 2017-04-28 23:11:16 +0000 |
---|---|---|
committer | Hans Wennborg <hans@hanshq.net> | 2017-04-28 23:11:16 +0000 |
commit | 513dc805eb3aa278cde0c37643ff747311d30a15 (patch) | |
tree | b20ef3a60aee8b83bc3dbff63d939fa13bee25bf /llvm/lib/Bitcode | |
parent | 0f88d863b477afef36f02fd11a96abd9eb5563a5 (diff) | |
download | bcm5719-llvm-513dc805eb3aa278cde0c37643ff747311d30a15.tar.gz bcm5719-llvm-513dc805eb3aa278cde0c37643ff747311d30a15.zip |
Remove set but unused variable in BitcodeReader.cpp. NFC.
llvm-svn: 301713
Diffstat (limited to 'llvm/lib/Bitcode')
-rw-r--r-- | llvm/lib/Bitcode/Reader/BitcodeReader.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/llvm/lib/Bitcode/Reader/BitcodeReader.cpp b/llvm/lib/Bitcode/Reader/BitcodeReader.cpp index 782738f5359..11b0cf154f6 100644 --- a/llvm/lib/Bitcode/Reader/BitcodeReader.cpp +++ b/llvm/lib/Bitcode/Reader/BitcodeReader.cpp @@ -4969,7 +4969,6 @@ Error ModuleSummaryIndexBitcodeReader::parseEntireSummary( // "OriginalName" attachement. GlobalValueSummary *LastSeenSummary = nullptr; GlobalValue::GUID LastSeenGUID = 0; - 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 @@ -5136,7 +5135,6 @@ Error ModuleSummaryIndexBitcodeReader::parseEntireSummary( LastSeenGUID = GUID; FS->setModulePath(ModuleIdMap[ModuleId]); TheIndex.addGlobalValueSummary(GUID, std::move(FS)); - Combined = true; break; } // FS_COMBINED_ALIAS: [valueid, modid, flags, valueid] @@ -5162,7 +5160,6 @@ Error ModuleSummaryIndexBitcodeReader::parseEntireSummary( GlobalValue::GUID GUID = getGUIDFromValueId(ValueID).first; LastSeenGUID = GUID; TheIndex.addGlobalValueSummary(GUID, std::move(AS)); - Combined = true; break; } // FS_COMBINED_GLOBALVAR_INIT_REFS: [valueid, modid, flags, n x valueid] @@ -5179,7 +5176,6 @@ Error ModuleSummaryIndexBitcodeReader::parseEntireSummary( GlobalValue::GUID GUID = getGUIDFromValueId(ValueID).first; LastSeenGUID = GUID; TheIndex.addGlobalValueSummary(GUID, std::move(FS)); - Combined = true; break; } // FS_COMBINED_ORIGINAL_NAME: [original_name] |