Revert "[BOLT] Fix unconditional output of boltedcollection in merge-fdata (#78653)"

This reverts commit 82bc33ea3f.

Accidentally pushed unrelated changes.
This commit is contained in:
Amir Ayupov
2024-01-18 19:59:09 -08:00
parent 82bc33ea3f
commit 9fec33aadc
22 changed files with 41 additions and 452 deletions

View File

@@ -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";