diff options
author | Chris Lattner <sabre@nondot.org> | 2001-10-15 18:30:06 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2001-10-15 18:30:06 +0000 |
commit | 634b352fa6ccb7313520dcf552359569bf1b7f47 (patch) | |
tree | 58b2bb6fe29a162891a2c3d3093bc1ed49919c74 /lib/CodeGen | |
parent | 1e23ed7c653bb73984766cd3868da4d372ac47f8 (diff) |
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
Diffstat (limited to 'lib/CodeGen')
-rw-r--r-- | lib/CodeGen/RegAlloc/LiveRange.h | 2 | ||||
-rw-r--r-- | lib/CodeGen/RegAlloc/RegClass.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/CodeGen/RegAlloc/LiveRange.h b/lib/CodeGen/RegAlloc/LiveRange.h index 9c4d450880..28e0712283 100644 --- a/lib/CodeGen/RegAlloc/LiveRange.h +++ b/lib/CodeGen/RegAlloc/LiveRange.h @@ -101,7 +101,7 @@ class LiveRange : public ValueSet 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 { diff --git a/lib/CodeGen/RegAlloc/RegClass.h b/lib/CodeGen/RegAlloc/RegClass.h index d08ed3a659..9f5a46902a 100644 --- a/lib/CodeGen/RegAlloc/RegClass.h +++ b/lib/CodeGen/RegAlloc/RegClass.h @@ -101,12 +101,12 @@ class RegClass 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(); } |