mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-13 08:25:27 +00:00
Fix some refactos for iostream changes (in -Asserts mode).
- The world needs better C++ refactoring tools, can I get an Amen!? git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79843 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user