summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2011-11-15 16:26:38 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2011-11-15 16:26:38 +0000
commit4c93d15f09bca663756808e4a318f52c705107df (patch)
treecf23e0c9da4ea8faf20db5757b85b100db8b8a38 /llvm/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp
parent6c8f07ff46c8cd41d120f9ab001f8b647961532b (diff)
downloadbcm5719-llvm-4c93d15f09bca663756808e4a318f52c705107df.tar.gz
bcm5719-llvm-4c93d15f09bca663756808e4a318f52c705107df.zip
Twinify GraphWriter a little bit.
llvm-svn: 144647
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp
index 95e21e6509d..a7cf089237a 100644
--- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp
@@ -147,7 +147,7 @@ std::string DOTGraphTraits<SelectionDAG*>::getNodeLabel(const SDNode *Node,
void SelectionDAG::viewGraph(const std::string &Title) {
// This code is only for debugging!
#ifndef NDEBUG
- ViewGraph(this, "dag." + getMachineFunction().getFunction()->getNameStr(),
+ ViewGraph(this, "dag." + getMachineFunction().getFunction()->getName(),
false, Title);
#else
errs() << "SelectionDAG::viewGraph is only available in debug builds on "
OpenPOWER on IntegriCloud