From: Chris Lattner Date: Tue, 16 Aug 2005 18:32:18 +0000 (+0000) Subject: allow passing a dag into getOperationName and dump X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=efe58694050e48b61584b8454434dcd1ad886a71;p=oota-llvm.git 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 --- 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; }