mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-08 19:25:47 +00:00
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:
@@ -704,7 +704,8 @@ void RA::addSpillCode(IntervalPtrs::value_type li, int slot)
|
|||||||
// ignore deleted instructions
|
// ignore deleted instructions
|
||||||
while (!li_->getInstructionFromIndex(index)) index += 2;
|
while (!li_->getInstructionFromIndex(index)) index += 2;
|
||||||
mi = li_->getInstructionFromIndex(index);
|
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_));
|
mi->print(std::cerr, *tm_));
|
||||||
|
|
||||||
// if it is used in this instruction load it
|
// if it is used in this instruction load it
|
||||||
|
Reference in New Issue
Block a user