view 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
line wrap: on
line source

#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);
}