# HG changeset patch # User kent # Date 1253769503 -32400 # Node ID 1572d6553fb677a768ba5e143fe00b90a96d4b76 # Parent 4c6926a2b9bcbac12e24dfda5ab4fd28d87334c5 add cbc_tree_debug.c diff -r 4c6926a2b9bc -r 1572d6553fb6 gcc/cbc-tree-debug.c --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/gcc/cbc-tree-debug.c Thu Sep 24 14:18:23 2009 +0900 @@ -0,0 +1,25 @@ +#include "config.h" +#include "system.h" +#include "coretypes.h" +#include "tm.h" +#include "tree.h" +#include "c-tree.h" + + +tree +_debug_tree_type (tree t) +{ + return TREE_TYPE (t); +} + +enum tree_code +_debug_tree_code (tree t) +{ + return TREE_CODE (t); +} + +tree +_debug_tree_chain (tree t) +{ + return TREE_CHAIN (t); +}