fixed printing messages
llvm-svn: 590
diff --git a/llvm/lib/CodeGen/RegAlloc/LiveRangeInfo.cpp b/llvm/lib/CodeGen/RegAlloc/LiveRangeInfo.cpp
index 5ef3502..64cac9b 100644
--- a/llvm/lib/CodeGen/RegAlloc/LiveRangeInfo.cpp
+++ b/llvm/lib/CodeGen/RegAlloc/LiveRangeInfo.cpp
@@ -120,8 +120,10 @@
OpI.getMachineOperand().getVRegValue(), isCC );
- if(isCC )
- cout << "\a" << "**created a LR for a CC reg**" << cout;
+ if(isCC ) {
+ cout << "\a**created a LR for a CC reg:";
+ printValue( OpI.getMachineOperand().getVRegValue() );
+ }
DefRange->setRegClass( RegClassList[ rcid ] );