aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/RegAllocLocal.cpp
diff options
context:
space:
mode:
authorMisha Brukman <brukman+llvm@gmail.com>2003-05-04 22:51:30 +0000
committerMisha Brukman <brukman+llvm@gmail.com>2003-05-04 22:51:30 +0000
commit15b55e20cc3ca89d77b3e5c2833b569eb33aa4f9 (patch)
tree33e663177218fae317bbc9415837c2054a7304ba /lib/CodeGen/RegAllocLocal.cpp
parentc472d7c52a6f3d702ab15917bd3d10d3ae1a2230 (diff)
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
Diffstat (limited to 'lib/CodeGen/RegAllocLocal.cpp')
-rw-r--r--lib/CodeGen/RegAllocLocal.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/CodeGen/RegAllocLocal.cpp b/lib/CodeGen/RegAllocLocal.cpp
index 46b06ce044..01ceb352e9 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);
}