Mercurial > hg > CbC > CbC_gcc
view gcc/cbc-tree.h @ 101:5c3ad79fc15b
modify implemeted __rectype expression
author | Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 16 Feb 2012 18:15:22 +0900 (2012-02-16) |
parents | 98e1e78a6b5a |
children |
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 rectype and selftype is lang_flag_3. */ #define IS_RECTYPE(NODE) ((NODE)->type.lang_flag_3) #define IS_SELFTYPE(NODE) ((NODE)->type.lang_flag_3) //#define CbC_TYPE_LANG_FLAG_3(NODE) (RECORD_OR_POINTER_CHECK (NODE)->type.lang_flag_3) //#define RECORD_OR_POINTER_CHECK(NODE) TYPE_CHECK2 (T, POINTER_TYPE, RECORD_TYPE) //#define TYPE_LANG_FLAG_3(NODE) (TYPE_CHECK (NODE)->type.lang_flag_3)