mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-01 05:01:59 +01:00
Fix -Asserts warning.
llvm-svn: 81909
This commit is contained in:
parent
3d79f78d69
commit
e14446813e
@ -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…
x
Reference in New Issue
Block a user