From: Chris Lattner Date: Mon, 10 Jan 2005 23:05:07 +0000 (+0000) Subject: Add a helper method X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=ce393a609ba1df701cfba9e96749275a16e22ade;p=oota-llvm.git Add a helper method git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19439 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/Support/GraphWriter.h b/include/llvm/Support/GraphWriter.h index feb9900d3b8..02f3952422c 100644 --- a/include/llvm/Support/GraphWriter.h +++ b/include/llvm/Support/GraphWriter.h @@ -96,7 +96,11 @@ public: I != E; ++I) writeNode(&*I); } - + + void writeNode(NodeType *const *Node) { + writeNode(*Node); + } + void writeNode(NodeType *Node) { std::string NodeAttributes = DOTTraits::getNodeAttributes(Node);