Fix instruction numbering in debug output.

llvm-svn: 11655
This commit is contained in:
Alkis Evlogimenos 2004-02-20 06:29:51 +00:00
parent 76eca062ea
commit bcc99a83ee
1 changed files with 2 additions and 1 deletions

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