diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2011-11-15 16:26:38 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2011-11-15 16:26:38 +0000 |
commit | 4c93d15f09bca663756808e4a318f52c705107df (patch) | |
tree | cf23e0c9da4ea8faf20db5757b85b100db8b8a38 /llvm/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp | |
parent | 6c8f07ff46c8cd41d120f9ab001f8b647961532b (diff) | |
download | bcm5719-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.cpp | 2 |
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 " |