]> granicus.if.org Git - llvm/commitdiff
Debug output should go to cerr, not cout, because that's where bytecode goes.
authorMisha Brukman <brukman+llvm@gmail.com>
Sun, 4 May 2003 22:51:30 +0000 (22:51 +0000)
committerMisha Brukman <brukman+llvm@gmail.com>
Sun, 4 May 2003 22:51:30 +0000 (22:51 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6002 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/RegAllocLocal.cpp

index 46b06ce04402c65b23e8ec521f0378b633bdee4a..01ceb352e9c9eb6ee6ffeb52e4bbf3793c3bc40d 100644 (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);
        }