mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-21 23:17:16 +00:00
Switch to getNameStr().
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76962 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -86,12 +86,12 @@ void ScheduleDAG::viewGraph() {
|
||||
// This code is only for debugging!
|
||||
#ifndef NDEBUG
|
||||
if (BB->getBasicBlock())
|
||||
ViewGraph(this, "dag." + MF.getFunction()->getName(), false,
|
||||
"Scheduling-Units Graph for " + MF.getFunction()->getName() +
|
||||
":" + BB->getBasicBlock()->getName());
|
||||
ViewGraph(this, "dag." + MF.getFunction()->getNameStr(), false,
|
||||
"Scheduling-Units Graph for " + MF.getFunction()->getNameStr() +
|
||||
":" + BB->getBasicBlock()->getNameStr());
|
||||
else
|
||||
ViewGraph(this, "dag." + MF.getFunction()->getName(), false,
|
||||
"Scheduling-Units Graph for " + MF.getFunction()->getName());
|
||||
ViewGraph(this, "dag." + MF.getFunction()->getNameStr(), false,
|
||||
"Scheduling-Units Graph for " + MF.getFunction()->getNameStr());
|
||||
#else
|
||||
cerr << "ScheduleDAG::viewGraph is only available in debug builds on "
|
||||
<< "systems with Graphviz or gv!\n";
|
||||
|
||||
Reference in New Issue
Block a user