aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/RegAlloc/LiveRangeInfo.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2001-09-19 16:09:04 +0000
committerChris Lattner <sabre@nondot.org>2001-09-19 16:09:04 +0000
commit4c3aaa4adb12aa140742eaa1f9e79c2bebf14596 (patch)
tree7e4840de376fcd4501e13755c3031f15e0a1205c /lib/CodeGen/RegAlloc/LiveRangeInfo.cpp
parent9a3d63bcbe54e359bb908436053ed16cef77b9f7 (diff)
* REMOVE extraneous debug info if DEBUG_RA is not set
* Spell PhyRegAlloc right. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@645 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/RegAlloc/LiveRangeInfo.cpp')
-rw-r--r--lib/CodeGen/RegAlloc/LiveRangeInfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/RegAlloc/LiveRangeInfo.cpp b/lib/CodeGen/RegAlloc/LiveRangeInfo.cpp
index 17139e43b7..658f3d276e 100644
--- a/lib/CodeGen/RegAlloc/LiveRangeInfo.cpp
+++ b/lib/CodeGen/RegAlloc/LiveRangeInfo.cpp
@@ -96,7 +96,7 @@ void LiveRangeInfo::constructLiveRanges()
MachineOperand::MachineOperandType OpTyp =
OpI.getMachineOperand().getOperandType();
- if ( OpTyp == MachineOperand::MO_CCRegister) {
+ if (DEBUG_RA && OpTyp == MachineOperand::MO_CCRegister) {
cout << "\n**CC reg found. Is Def=" << OpI.isDef() << " Val:";
printValue( OpI.getMachineOperand().getVRegValue() );
cout << endl;