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:
parent
5896cdb9ff
commit
224bcdd295
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user