allow passing a dag into getOperationName and dump

llvm-svn: 22803
This commit is contained in:
Chris Lattner 2005-08-16 18:32:18 +00:00
parent 7e57d18b79
commit 577af48731
1 changed files with 2 additions and 1 deletions

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