diff options
author | Dan Gohman <gohman@apple.com> | 2007-06-19 14:13:56 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2007-06-19 14:13:56 +0000 |
commit | b5bec2b6f6f4a4da96170d1c258ad424112ad2c5 (patch) | |
tree | ec921a991605bb2b86f8ca0888dc751a65469a47 /lib/CodeGen/SelectionDAG/SelectionDAG.cpp | |
parent | d0954105f0b1fb72008e2f734ed34510309d5048 (diff) |
Pass a SelectionDAG into SDNode::dump everywhere it's used, in prepration
for needing the DAG node to print pre-legalize extended value types, and
to get better debug messages with target-specific nodes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37656 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/SelectionDAG.cpp')
-rw-r--r-- | lib/CodeGen/SelectionDAG/SelectionDAG.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/lib/CodeGen/SelectionDAG/SelectionDAG.cpp index 5c24b931e1..0ac77f99a3 100644 --- a/lib/CodeGen/SelectionDAG/SelectionDAG.cpp +++ b/lib/CodeGen/SelectionDAG/SelectionDAG.cpp @@ -512,7 +512,7 @@ void SelectionDAG::RemoveNodeFromCSEMaps(SDNode *N) { // not subject to CSE. if (!Erased && N->getValueType(N->getNumValues()-1) != MVT::Flag && !N->isTargetOpcode()) { - N->dump(); + N->dump(this); cerr << "\n"; assert(0 && "Node is not in map!"); } |