[llvm-commits] CVS: llvm/lib/CodeGen/RegAllocLocal.cpp

Misha Brukman brukman at cs.uiuc.edu
Sun May 4 17:52:01 PDT 2003


Changes in directory llvm/lib/CodeGen:

RegAllocLocal.cpp updated: 1.13 -> 1.14

---
Log message:

Debug output should go to cerr, not cout, because that's where bytecode goes. 


---
Diffs of the changes:

Index: llvm/lib/CodeGen/RegAllocLocal.cpp
diff -u llvm/lib/CodeGen/RegAllocLocal.cpp:1.13 llvm/lib/CodeGen/RegAllocLocal.cpp:1.14
--- llvm/lib/CodeGen/RegAllocLocal.cpp:1.13	Thu Jan 16 12:06:43 2003
+++ llvm/lib/CodeGen/RegAllocLocal.cpp	Sun May  4 17:51:30 2003
@@ -479,7 +479,7 @@
 	}
 
 	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 @@
 	}
 
 	if (PhysReg) {
-	  DEBUG(std::cout << "V: " << VirtReg << " P: " << PhysReg
+	  DEBUG(std::cerr << "V: " << VirtReg << " P: " << PhysReg
 		<< " dead after: " << *MI);
 	  removePhysReg(PhysReg);
 	}





More information about the llvm-commits mailing list