diff options
author | Dan Gohman <gohman@apple.com> | 2009-09-25 00:34:34 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2009-09-25 00:34:34 +0000 |
commit | 8fc13cb4f7a2997f993ffdfe6e488046ec6c834e (patch) | |
tree | f47929fd01811fdb03731b584d4ce253e9e40053 /lib/CodeGen/SelectionDAG/SelectionDAG.cpp | |
parent | 3d6cb88a64fe67064de206405951eb326d86fc0c (diff) |
Add a version of dumpr() that has a SelectionDAG* argument.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82742 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/SelectionDAG.cpp')
-rw-r--r-- | lib/CodeGen/SelectionDAG/SelectionDAG.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/lib/CodeGen/SelectionDAG/SelectionDAG.cpp index 0aa0314643..9925cf77a8 100644 --- a/lib/CodeGen/SelectionDAG/SelectionDAG.cpp +++ b/lib/CodeGen/SelectionDAG/SelectionDAG.cpp @@ -5726,6 +5726,11 @@ void SDNode::dumpr() const { DumpNodesr(errs(), this, 0, 0, once); } +void SDNode::dumpr(const SelectionDAG *G) const { + VisitedSDNodeSet once; + DumpNodesr(errs(), this, 0, G, once); +} + // getAddressSpace - Return the address space this GlobalAddress belongs to. unsigned GlobalAddressSDNode::getAddressSpace() const { |