From 15b55e20cc3ca89d77b3e5c2833b569eb33aa4f9 Mon Sep 17 00:00:00 2001 From: Misha Brukman Date: Sun, 4 May 2003 22:51:30 +0000 Subject: [PATCH] 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 --- lib/CodeGen/RegAllocLocal.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); } -- 2.34.1