mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-05 13:26:55 +00:00
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
This commit is contained in:
@@ -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 {
|
||||
|
@@ -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();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user