More consistent labelling of basic blocks in debug output
llvm-svn: 89470
This commit is contained in:
parent
4d119e49f9
commit
b4c14ebfbb
|
@ -136,7 +136,8 @@ void LiveIntervals::printInstrs(raw_ostream &OS) const {
|
||||||
|
|
||||||
for (MachineFunction::iterator mbbi = mf_->begin(), mbbe = mf_->end();
|
for (MachineFunction::iterator mbbi = mf_->begin(), mbbe = mf_->end();
|
||||||
mbbi != mbbe; ++mbbi) {
|
mbbi != mbbe; ++mbbi) {
|
||||||
OS << mbbi->getName() << ":\n";
|
OS << "BB#" << mbbi->getNumber()
|
||||||
|
<< ":\t\t# derived from " << mbbi->getName() << "\n";
|
||||||
for (MachineBasicBlock::iterator mii = mbbi->begin(),
|
for (MachineBasicBlock::iterator mii = mbbi->begin(),
|
||||||
mie = mbbi->end(); mii != mie; ++mii) {
|
mie = mbbi->end(); mii != mie; ++mii) {
|
||||||
OS << getInstructionIndex(mii) << '\t' << *mii;
|
OS << getInstructionIndex(mii) << '\t' << *mii;
|
||||||
|
|
Loading…
Reference in New Issue