changeset 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 4c6926a2b9bc
children 9de9dad105d4
files gcc/cbc-tree-debug.c
diffstat 1 files changed, 25 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /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);
+}