[llvm-commits] [llvm] r48298 - /llvm/trunk/lib/CodeGen/VirtRegMap.cpp

Dan Gohman gohman at apple.com
Wed Mar 12 13:52:10 PDT 2008


Author: djg
Date: Wed Mar 12 15:52:10 2008
New Revision: 48298

URL: http://llvm.org/viewvc/llvm-project?rev=48298&view=rev
Log:
Change VirtRegMap's dump to dump to cerr, not DOUT, so that it
can be called from within a debuger without having -debug specified
on the command-line.

Modified:
    llvm/trunk/lib/CodeGen/VirtRegMap.cpp

Modified: llvm/trunk/lib/CodeGen/VirtRegMap.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/VirtRegMap.cpp?rev=48298&r1=48297&r2=48298&view=diff

==============================================================================
--- llvm/trunk/lib/CodeGen/VirtRegMap.cpp (original)
+++ llvm/trunk/lib/CodeGen/VirtRegMap.cpp Wed Mar 12 15:52:10 2008
@@ -202,7 +202,7 @@
 }
 
 void VirtRegMap::dump() const {
-  print(DOUT);
+  print(cerr);
 }
 
 





More information about the llvm-commits mailing list