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);