mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-11-01 15:17:25 +00:00
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:
@@ -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;
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user