aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/CodeGen/SelectionDAG.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/CodeGen/SelectionDAG.h')
-rw-r--r--include/llvm/CodeGen/SelectionDAG.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/llvm/CodeGen/SelectionDAG.h b/include/llvm/CodeGen/SelectionDAG.h
index 32c02ba8b7..2b9382b2b6 100644
--- a/include/llvm/CodeGen/SelectionDAG.h
+++ b/include/llvm/CodeGen/SelectionDAG.h
@@ -84,7 +84,8 @@ public:
/// viewGraph - Pop up a GraphViz/gv window with the DAG rendered using 'dot'.
///
- void viewGraph();
+ void viewGraph(const std::string &Title);
+ void viewGraph() { return viewGraph(""); }
#ifndef NDEBUG
std::map<const SDNode *, std::string> NodeGraphAttrs;