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 | a7644dd9b9af3dc9af09180562acca233268b99a (patch) | |
| tree | e482fac98913f8f9be4a5b204ed4c072992b8e08 /llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp | |
| parent | 1370faf88922e277e8b0a802f01c12caae92babd (diff) | |
| download | bcm5719-llvm-a7644dd9b9af3dc9af09180562acca233268b99a.tar.gz bcm5719-llvm-a7644dd9b9af3dc9af09180562acca233268b99a.zip | |
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.
llvm-svn: 37656
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp')
| -rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp index 5c24b931e17..0ac77f99a30 100644 --- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp +++ b/llvm/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!"); } |

