[llvm-commits] [llvm] r93566 - /llvm/trunk/include/llvm/CodeGen/SelectionDAGNodes.h

Dan Gohman gohman at apple.com
Fri Jan 15 14:22:58 PST 2010


Author: djg
Date: Fri Jan 15 16:22:58 2010
New Revision: 93566

URL: http://llvm.org/viewvc/llvm-project?rev=93566&view=rev
Log:
Add comments to the dump() and dumpr() routines.

Modified:
    llvm/trunk/include/llvm/CodeGen/SelectionDAGNodes.h

Modified: llvm/trunk/include/llvm/CodeGen/SelectionDAGNodes.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/CodeGen/SelectionDAGNodes.h?rev=93566&r1=93565&r2=93566&view=diff

==============================================================================
--- llvm/trunk/include/llvm/CodeGen/SelectionDAGNodes.h (original)
+++ llvm/trunk/include/llvm/CodeGen/SelectionDAGNodes.h Fri Jan 15 16:22:58 2010
@@ -1297,9 +1297,17 @@
   ///
   void printWithFullDepth(raw_ostream &O, const SelectionDAG *G = 0,
                           unsigned indent = 0) const;
+  /// dump - Dump this node, for debugging.
   void dump() const;
+  /// dumpr - Dump (recursively) this node and its use-def subgraph.
   void dumpr() const;
+  /// dump - Dump this node, for debugging.
+  /// The given SelectionDAG allows target-specific nodes to be printed
+  /// in human-readable form.
   void dump(const SelectionDAG *G) const;
+  /// dumpr - Dump (recursively) this node and its use-def subgraph.
+  /// The given SelectionDAG allows target-specific nodes to be printed
+  /// in human-readable form.
   void dumpr(const SelectionDAG *G) const;
   /// dumpWithDepth - printWithDepth to dbgs().
   ///





More information about the llvm-commits mailing list