diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-09-15 20:31:12 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-09-15 20:31:12 +0000 |
commit | 504f9a61e61ee274fe50d8300825bdc2e5adb9b0 (patch) | |
tree | e4b88ad6eb4c1324fdc29dd20ffcdd59da82171c /lib/CodeGen/LiveIntervalAnalysis.cpp | |
parent | b2485c9e41c60dcdf5112a2605a696c4287f0914 (diff) | |
download | external_llvm-504f9a61e61ee274fe50d8300825bdc2e5adb9b0.zip external_llvm-504f9a61e61ee274fe50d8300825bdc2e5adb9b0.tar.gz external_llvm-504f9a61e61ee274fe50d8300825bdc2e5adb9b0.tar.bz2 |
Fix -Asserts warning.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81909 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/LiveIntervalAnalysis.cpp')
-rw-r--r-- | lib/CodeGen/LiveIntervalAnalysis.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/CodeGen/LiveIntervalAnalysis.cpp b/lib/CodeGen/LiveIntervalAnalysis.cpp index 34d55ec..6296e93 100644 --- a/lib/CodeGen/LiveIntervalAnalysis.cpp +++ b/lib/CodeGen/LiveIntervalAnalysis.cpp @@ -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, |