Print Debug Code to stderr instead of stdout so that it doesn't mess up the assembly output
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@841 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/RegAlloc/LiveRange.h b/lib/CodeGen/RegAlloc/LiveRange.h
index 9c4d450..28e0712 100644
--- a/lib/CodeGen/RegAlloc/LiveRange.h
+++ b/lib/CodeGen/RegAlloc/LiveRange.h
@@ -101,7 +101,7 @@
if(SuggestedColor == -1 )
SuggestedColor = Col;
else if (DEBUG_RA)
- cout << "Already has a suggested color " << Col << endl;
+ cerr << "Already has a suggested color " << Col << endl;
}
inline unsigned getSuggestedColor() const {