OSDN Git Service

Change VirtRegMap's dump to dump to cerr, not DOUT, so that it
authorDan Gohman <gohman@apple.com>
Wed, 12 Mar 2008 20:52:10 +0000 (20:52 +0000)
committerDan Gohman <gohman@apple.com>
Wed, 12 Mar 2008 20:52:10 +0000 (20:52 +0000)
can be called from within a debuger without having -debug specified
on the command-line.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48298 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/VirtRegMap.cpp

index 9e46c00..8c6934a 100644 (file)
@@ -202,7 +202,7 @@ void VirtRegMap::print(std::ostream &OS) const {
 }
 
 void VirtRegMap::dump() const {
-  print(DOUT);
+  print(cerr);
 }