forked from OSchip/llvm-project
Debug output should go to cerr, not cout, because that's where bytecode goes.
llvm-svn: 6002
This commit is contained in:
parent
e824c98a48
commit
e842da3dcc
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue