Revert "[BOLT] Fix unconditional output of boltedcollection in merge-fdata (#78653)"
This reverts commit 82bc33ea3f.
Accidentally pushed unrelated changes.
This commit is contained in:
@@ -329,7 +329,7 @@ void mergeLegacyProfiles(const SmallVectorImpl<std::string> &Filenames) {
|
||||
MergedProfile.insert_or_assign(Key, Count);
|
||||
}
|
||||
|
||||
if (BoltedCollection.value_or(false))
|
||||
if (BoltedCollection)
|
||||
output() << "boltedcollection\n";
|
||||
for (const auto &[Key, Value] : MergedProfile)
|
||||
output() << Key << " " << Value << "\n";
|
||||
|
||||
Reference in New Issue
Block a user