1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00

Make ValueEnumerator::print use OS for metadata too. Noticed by inspection.

llvm-svn: 224404
This commit is contained in:
Nick Lewycky 2014-12-17 01:52:08 +00:00
parent 5896cdb9ff
commit 224bcdd295

View File

@ -459,7 +459,7 @@ void ValueEnumerator::print(raw_ostream &OS, const MetadataMapType &Map,
for (auto I = Map.begin(), E = Map.end(); I != E; ++I) {
const Metadata *MD = I->first;
OS << "Metadata: slot = " << I->second << "\n";
MD->dump();
MD->print(OS);
}
}
@ -803,4 +803,3 @@ unsigned ValueEnumerator::getGlobalBasicBlockID(const BasicBlock *BB) const {
IncorporateFunctionInfoGlobalBBIDs(BB->getParent(), GlobalBasicBlockIDs);
return getGlobalBasicBlockID(BB);
}