Mercurial > hg > CbC > CbC_gcc
view gcc/cbc-tree.h @ 98:5211b774b8b5
implemeted selftype expression. add CbC-exanples/selftype.c
author | Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 24 Jan 2012 03:25:13 +0900 |
parents | 6381ea127240 |
children | 98e1e78a6b5a |
line wrap: on
line source
/* #define CbC_PRETENDED_STACK_SIZE 256 */ #define CbC_PRETENDED_STACK_SIZE 1024 /* Set if the fntype is code segment on CbC language. */ /* flag3,5,6 has been used by c-tree.h */ #define CbC_IS_CODE_SEGMENT(TYPE) TYPE_LANG_FLAG_5 ( FUNCTION_TYPE_CHECK(TYPE)) /* Set if the CALL_EXPR NODE is goto statement on CbC language. */ #define CbC_IS_CbC_GOTO(NODE) TREE_LANG_FLAG_5 (CALL_EXPR_CHECK(NODE)) #define CALL_EXPR_CbC_GOTO(NODE) TREE_LANG_FLAG_5 (CALL_EXPR_CHECK(NODE)) extern tree cbc_return_f; extern tree cbc_env; extern location_t cbc_return; /* flag of selftype is lang_flag_3. */ #define IS_SELFTYPE(NODE) TYPE_LANG_FLAG_3 (RECORD_OR_UNION_CHECK (NODE))