From: Misha Brukman Date: Sun, 4 May 2003 22:51:30 +0000 (+0000) Subject: Debug output should go to cerr, not cout, because that's where bytecode goes. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=15b55e20cc3ca89d77b3e5c2833b569eb33aa4f9;p=oota-llvm.git Debug output should go to cerr, not cout, because that's where bytecode goes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6002 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/RegAllocLocal.cpp b/lib/CodeGen/RegAllocLocal.cpp index 46b06ce0440..01ceb352e9c 100644 --- a/lib/CodeGen/RegAllocLocal.cpp +++ b/lib/CodeGen/RegAllocLocal.cpp @@ -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); }