Print out register number in InlineSpiller.

llvm-svn: 158575
This commit is contained in:
Jakob Stoklund Olesen 2012-06-15 23:47:09 +00:00
parent b5b17fe9fc
commit 45c1f9976c
1 changed files with 2 additions and 2 deletions

View File

@ -1273,8 +1273,8 @@ void InlineSpiller::spill(LiveRangeEdit &edit) {
DEBUG(dbgs() << "Inline spilling "
<< MRI.getRegClass(edit.getReg())->getName()
<< ':' << edit.getParent() << "\nFrom original "
<< LIS.getInterval(Original) << '\n');
<< ':' << PrintReg(edit.getReg()) << ' ' << edit.getParent()
<< "\nFrom original " << LIS.getInterval(Original) << '\n');
assert(edit.getParent().isSpillable() &&
"Attempting to spill already spilled value.");
assert(DeadDefs.empty() && "Previous spill didn't remove dead defs");