summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
-rw-r--r--llvm/lib/Bitcode/Reader/BitcodeReader.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Bitcode/Reader/BitcodeReader.cpp b/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
index fbe9391a69a..06a120a5ff1 100644
--- a/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
+++ b/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
@@ -5643,6 +5643,7 @@ std::error_code FunctionIndexBitcodeReader::parseEntireSummary() {
FS->setModulePath(
TheIndex->addModulePath(Buffer->getBufferIdentifier(), 0));
SummaryMap[ValueID] = std::move(FS);
+ break;
}
// FS_COMBINED_ENTRY: [modid, linkage, instcount]
case bitc::FS_CODE_COMBINED_ENTRY: {
@@ -5654,6 +5655,7 @@ std::error_code FunctionIndexBitcodeReader::parseEntireSummary() {
FS->setFunctionLinkage(getDecodedLinkage(RawLinkage));
FS->setModulePath(ModuleIdMap[ModuleId]);
SummaryMap[CurRecordBit] = std::move(FS);
+ break;
}
}
}
OpenPOWER on IntegriCloud