Fix instruction numbering in debug output.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11655 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Alkis Evlogimenos 2004-02-20 06:29:51 +00:00
parent 39a0d5c112
commit 537fa9838d

View File

@ -704,7 +704,8 @@ void RA::addSpillCode(IntervalPtrs::value_type li, int slot)
// ignore deleted instructions
while (!li_->getInstructionFromIndex(index)) index += 2;
mi = li_->getInstructionFromIndex(index);
DEBUG(std::cerr << "\t\t\t\texamining: \t\t\t\t\t" << index << '\t';
DEBUG(std::cerr << "\t\t\t\texamining: \t\t\t\t\t"
<< LiveIntervals::getBaseIndex(index) << '\t';
mi->print(std::cerr, *tm_));
// if it is used in this instruction load it