mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-04 05:31:06 +00:00
Fix print of BB name in dump().
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2861 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
3bc9ef9317
commit
cd13e7a5ee
@ -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…
Reference in New Issue
Block a user