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/RegClass.h b/lib/CodeGen/RegAlloc/RegClass.h
index d08ed3a..9f5a469 100644
--- a/lib/CodeGen/RegAlloc/RegClass.h
+++ b/lib/CodeGen/RegAlloc/RegClass.h
@@ -101,12 +101,12 @@
 
 
   inline void printIGNodeList() const {
-    cout << "IG Nodes for Register Class " << RegClassID << ":" << endl;
+    cerr << "IG Nodes for Register Class " << RegClassID << ":" << endl;
     IG.printIGNodeList(); 
   }
 
   inline void printIG() {  
-    cout << "IG for Register Class " << RegClassID << ":" << endl;
+    cerr << "IG for Register Class " << RegClassID << ":" << endl;
     IG.printIG(); 
   }