diff options
Diffstat (limited to 'contrib/gcc/c-dump.c')
-rw-r--r-- | contrib/gcc/c-dump.c | 18 |
1 files changed, 7 insertions, 11 deletions
diff --git a/contrib/gcc/c-dump.c b/contrib/gcc/c-dump.c index 65407a5..5403bf8 100644 --- a/contrib/gcc/c-dump.c +++ b/contrib/gcc/c-dump.c @@ -21,6 +21,8 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA #include "config.h" #include "system.h" +#include "coretypes.h" +#include "tm.h" #include "tree.h" #include "c-tree.h" #include "tree-dump.h" @@ -28,9 +30,7 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA /* Dump information common to statements from STMT. */ void -dump_stmt (di, t) - dump_info_p di; - tree t; +dump_stmt (dump_info_p di, tree t) { dump_int (di, "line", STMT_LINENO (t)); } @@ -38,19 +38,15 @@ dump_stmt (di, t) /* Dump the next statement after STMT. */ void -dump_next_stmt (di, t) - dump_info_p di; - tree t; +dump_next_stmt (dump_info_p di, tree t) { dump_child ("next", TREE_CHAIN (t)); } /* Dump any C-specific tree codes and attributes of common codes. */ -int -c_dump_tree (dump_info, t) - void *dump_info; - tree t; +bool +c_dump_tree (void *dump_info, tree t) { enum tree_code code; dump_info_p di = (dump_info_p) dump_info; @@ -192,5 +188,5 @@ c_dump_tree (dump_info, t) break; } - return 0; + return false; } |