Debug output should go to cerr, not cout, because that's where bytecode goes.

llvm-svn: 6002
This commit is contained in:
Misha Brukman 2003-05-04 22:51:30 +00:00
parent 9c0a8fe1d0
commit cf277f9143

View File

@ -479,7 +479,7 @@ void RA::AllocateBasicBlock(MachineBasicBlock &MBB) {
}
if (PhysReg) {
DEBUG(std::cout << "V: " << VirtReg << " P: " << PhysReg
DEBUG(std::cerr << "V: " << VirtReg << " P: " << PhysReg
<< " Killed by: " << *MI);
removePhysReg(PhysReg);
}
@ -562,7 +562,7 @@ void RA::AllocateBasicBlock(MachineBasicBlock &MBB) {
}
if (PhysReg) {
DEBUG(std::cout << "V: " << VirtReg << " P: " << PhysReg
DEBUG(std::cerr << "V: " << VirtReg << " P: " << PhysReg
<< " dead after: " << *MI);
removePhysReg(PhysReg);
}