diff options
| author | Chris Lattner <sabre@nondot.org> | 2001-10-15 18:15:27 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2001-10-15 18:15:27 +0000 |
| commit | f3f1e452eab177f358bbcd433cb2000db1478e1b (patch) | |
| tree | a4c535cc0aef2d5627e38289beed9882a7042f55 /llvm/lib/Target/Sparc/Sparc.cpp | |
| parent | 66fc9e73edf4a112d00637972990353d58ed04d3 (diff) | |
| download | bcm5719-llvm-f3f1e452eab177f358bbcd433cb2000db1478e1b.tar.gz bcm5719-llvm-f3f1e452eab177f358bbcd433cb2000db1478e1b.zip | |
Output to cerr rather than cout so that debug info doesn't mess up assembly generation
llvm-svn: 840
Diffstat (limited to 'llvm/lib/Target/Sparc/Sparc.cpp')
| -rw-r--r-- | llvm/lib/Target/Sparc/Sparc.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Target/Sparc/Sparc.cpp b/llvm/lib/Target/Sparc/Sparc.cpp index e8835ae975e..9de9bc9cadc 100644 --- a/llvm/lib/Target/Sparc/Sparc.cpp +++ b/llvm/lib/Target/Sparc/Sparc.cpp @@ -47,8 +47,8 @@ void AllocateRegisters(Method *M, TargetMachine &TM) return; if( DEBUG_RA ) { - cout << endl << "******************** Method "<< (M)->getName(); - cout << " ********************" <<endl; + cerr << endl << "******************** Method "<< (M)->getName(); + cerr << " ********************" <<endl; } MethodLiveVarInfo LVI(M ); // Analyze live varaibles @@ -59,7 +59,7 @@ void AllocateRegisters(Method *M, TargetMachine &TM) PRA.allocateRegisters(); - if( DEBUG_RA ) cout << endl << "Register allocation complete!" << endl; + if( DEBUG_RA ) cerr << endl << "Register allocation complete!" << endl; } |

