aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/SparcV9/SparcV9TargetMachine.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2001-10-15 18:15:27 +0000
committerChris Lattner <sabre@nondot.org>2001-10-15 18:15:27 +0000
commit1e23ed7c653bb73984766cd3868da4d372ac47f8 (patch)
tree6eae47934e94ea7432fc865ac898615b63b1263e /lib/Target/SparcV9/SparcV9TargetMachine.cpp
parent18fc812a1b47100f773e48fdd7392d1c22876e88 (diff)
Output to cerr rather than cout so that debug info doesn't mess up assembly generation
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@840 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/SparcV9/SparcV9TargetMachine.cpp')
-rw-r--r--lib/Target/SparcV9/SparcV9TargetMachine.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Target/SparcV9/SparcV9TargetMachine.cpp b/lib/Target/SparcV9/SparcV9TargetMachine.cpp
index e8835ae975..9de9bc9cad 100644
--- a/lib/Target/SparcV9/SparcV9TargetMachine.cpp
+++ b/lib/Target/SparcV9/SparcV9TargetMachine.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;
}