Mercurial > hg > CbC > CbC_gcc
comparison gcc/cbc-tree-debug.c @ 17:1572d6553fb6
add cbc_tree_debug.c
author | kent <kent@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 24 Sep 2009 14:18:23 +0900 |
parents | |
children | 959d4c8c8abc |
comparison
equal
deleted
inserted
replaced
16:4c6926a2b9bc | 17:1572d6553fb6 |
---|---|
1 #include "config.h" | |
2 #include "system.h" | |
3 #include "coretypes.h" | |
4 #include "tm.h" | |
5 #include "tree.h" | |
6 #include "c-tree.h" | |
7 | |
8 | |
9 tree | |
10 _debug_tree_type (tree t) | |
11 { | |
12 return TREE_TYPE (t); | |
13 } | |
14 | |
15 enum tree_code | |
16 _debug_tree_code (tree t) | |
17 { | |
18 return TREE_CODE (t); | |
19 } | |
20 | |
21 tree | |
22 _debug_tree_chain (tree t) | |
23 { | |
24 return TREE_CHAIN (t); | |
25 } |