From efe58694050e48b61584b8454434dcd1ad886a71 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Tue, 16 Aug 2005 18:32:18 +0000 Subject: [PATCH] allow passing a dag into getOperationName and dump git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22803 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/CodeGen/SelectionDAGNodes.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/llvm/CodeGen/SelectionDAGNodes.h b/include/llvm/CodeGen/SelectionDAGNodes.h index f0bc0e3ccb5..ea193eeb259 100644 --- a/include/llvm/CodeGen/SelectionDAGNodes.h +++ b/include/llvm/CodeGen/SelectionDAGNodes.h @@ -521,8 +521,9 @@ public: /// getOperationName - Return the opcode of this operation for printing. /// - const char* getOperationName() const; + const char* getOperationName(const SelectionDAG *G = 0) const; void dump() const; + void dump(const SelectionDAG *G) const; static bool classof(const SDNode *) { return true; }