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

David Greene dag at cray.com
Fri Jan 15 14:38:01 PST 2010


On Friday 15 January 2010 16:22, Dan Gohman wrote:

> +  /// dump - Dump this node, for debugging.
>    void dump() 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;

Why not use default parameters?  Usually I don't like them but in this case
it makes sense.  I can clean this up as I work through the other changes.

                            -Dave



More information about the llvm-commits mailing list