allow passing a dag into getOperationName and dump
authorChris Lattner <sabre@nondot.org>
Tue, 16 Aug 2005 18:32:18 +0000 (18:32 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 16 Aug 2005 18:32:18 +0000 (18:32 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22803 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/CodeGen/SelectionDAGNodes.h

index f0bc0e3ccb5bcf80ad6f39d3745f7538f8ac70dd..ea193eeb259dde329143961d3797073ff419f5a5 100644 (file)
@@ -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; }