mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-16 11:30:51 +00:00
Fix -Asserts warning.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81909 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
b2485c9e41
commit
504f9a61e6
@ -637,13 +637,14 @@ bool LiveIntervals::conflictsWithPhysRegRef(LiveInterval &li,
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
#ifndef NDEBUG
|
||||
static void printRegName(unsigned reg, const TargetRegisterInfo* tri_) {
|
||||
if (TargetRegisterInfo::isPhysicalRegister(reg))
|
||||
errs() << tri_->getName(reg);
|
||||
else
|
||||
errs() << "%reg" << reg;
|
||||
}
|
||||
#endif
|
||||
|
||||
void LiveIntervals::handleVirtualRegisterDef(MachineBasicBlock *mbb,
|
||||
MachineBasicBlock::iterator mi,
|
||||
|
Loading…
Reference in New Issue
Block a user