We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c3c8f4f commit 0aa5b5dCopy full SHA for 0aa5b5d
bolt/lib/Profile/YAMLProfileReader.cpp
@@ -643,11 +643,7 @@ size_t YAMLProfileReader::matchWithNameSimilarity(BinaryContext &BC) {
643
// equal number of blocks.
644
if (NamespaceToProfiledBFSizesIt->second.count(BF->size()) == 0)
645
continue;
646
- auto NamespaceToBFsIt = NamespaceToBFs.find(Namespace);
647
- if (NamespaceToBFsIt == NamespaceToBFs.end())
648
- NamespaceToBFs[Namespace] = {BF};
649
- else
650
- NamespaceToBFsIt->second.push_back(BF);
+ NamespaceToBFs[Namespace].push_back(BF);
651
}
652
653
// Iterates through all profiled functions and binary functions belonging to
0 commit comments