mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-10-05 11:17:53 +00:00
* Unbreak release build
* Add comments to #endif pragmas for readability git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22647 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -127,7 +127,7 @@ void SelectionDAG::viewGraph() {
|
|||||||
system(("rm " + Filename).c_str());
|
system(("rm " + Filename).c_str());
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
#endif
|
#endif // HAVE_GRAPHVIZ
|
||||||
|
|
||||||
#ifdef HAVE_GV
|
#ifdef HAVE_GV
|
||||||
std::cerr << "Running 'dot' program... " << std::flush;
|
std::cerr << "Running 'dot' program... " << std::flush;
|
||||||
@@ -140,9 +140,12 @@ void SelectionDAG::viewGraph() {
|
|||||||
}
|
}
|
||||||
system(("rm " + Filename + " /tmp/dag.tempgraph.ps").c_str());
|
system(("rm " + Filename + " /tmp/dag.tempgraph.ps").c_str());
|
||||||
return;
|
return;
|
||||||
#endif
|
#endif // HAVE_GV
|
||||||
#endif
|
#endif // NDEBUG
|
||||||
std::cerr << "SelectionDAG::viewGraph is only available in debug builds on "
|
std::cerr << "SelectionDAG::viewGraph is only available in debug builds on "
|
||||||
<< "systems with Graphviz or gv!\n";
|
<< "systems with Graphviz or gv!\n";
|
||||||
|
|
||||||
|
#ifndef NDEBUG
|
||||||
system(("rm " + Filename).c_str());
|
system(("rm " + Filename).c_str());
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user