mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-05 19:57:44 +00:00
Fix print of BB name in dump().
llvm-svn: 2861
This commit is contained in:
parent
62f569e4ea
commit
cd544ed252
@ -278,8 +278,7 @@ MachineCodeForMethod::dump() const
|
||||
|
||||
for (Function::const_iterator BB = method->begin(); BB != method->end(); ++BB)
|
||||
{
|
||||
std::cerr << "\n" << BB->getName() << " (" << (const void*) BB << ")" << ":\n";
|
||||
|
||||
std::cerr << endl << (*BB).getName() << " (" << (const void*) BB << ")" << ":" << endl;
|
||||
MachineCodeForBasicBlock& mvec = MachineCodeForBasicBlock::get(BB);
|
||||
for (unsigned i=0; i < mvec.size(); i++)
|
||||
std::cerr << "\t" << *mvec[i];
|
||||
|
Loading…
x
Reference in New Issue
Block a user