summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-08-16 18:32:18 +0000
committerChris Lattner <sabre@nondot.org>2005-08-16 18:32:18 +0000
commit577af487314f5e36fe9d45b1544e6600e79f1297 (patch)
tree7f8b905c2661458cf27e504cc18110df67157b0f
parent7e57d18b79be55e64bd79b3af6b823dafafeb17e (diff)
downloadbcm5719-llvm-577af487314f5e36fe9d45b1544e6600e79f1297.tar.gz
bcm5719-llvm-577af487314f5e36fe9d45b1544e6600e79f1297.zip
allow passing a dag into getOperationName and dump
llvm-svn: 22803
-rw-r--r--llvm/include/llvm/CodeGen/SelectionDAGNodes.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/include/llvm/CodeGen/SelectionDAGNodes.h b/llvm/include/llvm/CodeGen/SelectionDAGNodes.h
index f0bc0e3ccb5..ea193eeb259 100644
--- a/llvm/include/llvm/CodeGen/SelectionDAGNodes.h
+++ b/llvm/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; }
OpenPOWER on IntegriCloud