aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-pretty-print.c
diff options
context:
space:
mode:
authorAndrew Pinski <pinskia@gmail.com>2007-08-19 11:33:06 -0700
committerAndrew Pinski <pinskia@gcc.gnu.org>2007-08-19 11:33:06 -0700
commit434548f64ffd76cb2a8390935b2179d1a5a421e2 (patch)
treef1061ed08d3be78264ef839f237a1f4205d5ba83 /gcc/tree-pretty-print.c
parent468c2ac0cc95f86736cc1879a8af0d6de9f81663 (diff)
downloadgcc-434548f64ffd76cb2a8390935b2179d1a5a421e2.zip
gcc-434548f64ffd76cb2a8390935b2179d1a5a421e2.tar.gz
gcc-434548f64ffd76cb2a8390935b2179d1a5a421e2.tar.bz2
tree-pretty-print.c (debug_generic_expr): Add a comment about the function.
2007-08-19 Andrew Pinski <pinskia@gmail.com> * tree-pretty-print.c (debug_generic_expr): Add a comment about the function. (debug_generic_stmt): Likewise. (debug_tree_chain): Likewise. From-SVN: r127625
Diffstat (limited to 'gcc/tree-pretty-print.c')
-rw-r--r--gcc/tree-pretty-print.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/tree-pretty-print.c b/gcc/tree-pretty-print.c
index b1c5f1f..540e611 100644
--- a/gcc/tree-pretty-print.c
+++ b/gcc/tree-pretty-print.c
@@ -84,6 +84,8 @@ do_niy (pretty_printer *buffer, tree node)
pp_string (buffer, " >>>\n");
}
+/* Debugging function to print out a generic expression. */
+
void
debug_generic_expr (tree t)
{
@@ -91,6 +93,8 @@ debug_generic_expr (tree t)
fprintf (stderr, "\n");
}
+/* Debugging function to print out a generic statement. */
+
void
debug_generic_stmt (tree t)
{
@@ -98,6 +102,8 @@ debug_generic_stmt (tree t)
fprintf (stderr, "\n");
}
+/* Debugging function to print out a chain of trees . */
+
void
debug_tree_chain (tree t)
{