aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineFunction.cpp
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-08-23 08:50:52 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-08-23 08:50:52 +0000
commit34ee2033370b7ca9cef4cc89eeae99c2d9638197 (patch)
tree7c4381eaf6946e12f97c2c4e8252bc8059cd44cf /llvm/lib/CodeGen/MachineFunction.cpp
parent471ba48cb99a9d9bb8964f63363a3470369c2ecc (diff)
downloadllvm-34ee2033370b7ca9cef4cc89eeae99c2d9638197.zip
llvm-34ee2033370b7ca9cef4cc89eeae99c2d9638197.tar.gz
llvm-34ee2033370b7ca9cef4cc89eeae99c2d9638197.tar.bz2
Fix some refactos for iostream changes (in -Asserts mode).
- The world needs better C++ refactoring tools, can I get an Amen!? llvm-svn: 79843
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
-rw-r--r--llvm/lib/CodeGen/MachineFunction.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/lib/CodeGen/MachineFunction.cpp b/llvm/lib/CodeGen/MachineFunction.cpp
index 5bf86e3..25dfa6e 100644
--- a/llvm/lib/CodeGen/MachineFunction.cpp
+++ b/llvm/lib/CodeGen/MachineFunction.cpp
@@ -305,8 +305,8 @@ void MachineFunction::viewCFG() const
#ifndef NDEBUG
ViewGraph(this, "mf" + getFunction()->getNameStr());
#else
- cerr << "SelectionDAG::viewGraph is only available in debug builds on "
- << "systems with Graphviz or gv!\n";
+ errs() << "SelectionDAG::viewGraph is only available in debug builds on "
+ << "systems with Graphviz or gv!\n";
#endif // NDEBUG
}
@@ -315,8 +315,8 @@ void MachineFunction::viewCFGOnly() const
#ifndef NDEBUG
ViewGraph(this, "mf" + getFunction()->getNameStr(), true);
#else
- cerr << "SelectionDAG::viewGraph is only available in debug builds on "
- << "systems with Graphviz or gv!\n";
+ errs() << "SelectionDAG::viewGraph is only available in debug builds on "
+ << "systems with Graphviz or gv!\n";
#endif // NDEBUG
}