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
This commit is contained in:
Chris Lattner 2005-08-16 18:32:18 +00:00
parent ad95d6ab20
commit efe5869405

View 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; }