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
This commit is contained in:
Chris Lattner
2001-10-15 18:15:27 +00:00
parent 18fc812a1b
commit 1e23ed7c65
12 changed files with 199 additions and 209 deletions

View File

@@ -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;
}