[llvm-commits] CVS: llvm/include/llvm/CodeGen/SelectionDAGNodes.h
Chris Lattner
lattner at cs.uiuc.edu
Tue Aug 16 11:32:29 PDT 2005
Changes in directory llvm/include/llvm/CodeGen:
SelectionDAGNodes.h updated: 1.48 -> 1.49
---
Log message:
allow passing a dag into getOperationName and dump
---
Diffs of the changes: (+2 -1)
SelectionDAGNodes.h | 3 ++-
1 files changed, 2 insertions(+), 1 deletion(-)
Index: llvm/include/llvm/CodeGen/SelectionDAGNodes.h
diff -u llvm/include/llvm/CodeGen/SelectionDAGNodes.h:1.48 llvm/include/llvm/CodeGen/SelectionDAGNodes.h:1.49
--- llvm/include/llvm/CodeGen/SelectionDAGNodes.h:1.48 Tue Aug 16 13:16:24 2005
+++ llvm/include/llvm/CodeGen/SelectionDAGNodes.h Tue Aug 16 13:32:18 2005
@@ -521,8 +521,9 @@
/// 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; }
More information about the llvm-commits
mailing list