Mercurial > hg > CbC > CbC_gcc
comparison gcc/cbc-tree.h @ 1:caeb520cebed
patch for CbC
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 17 Jul 2009 17:43:54 +0900 |
parents | |
children | a4c410aa4714 |
comparison
equal
deleted
inserted
replaced
0:a06113de4d67 | 1:caeb520cebed |
---|---|
1 /* Set if the fntype is code segment on CbC language. */ | |
2 // flag3,5,6 has been used by c-tree.h | |
3 #define CbC_IS_CODE_SEGMENT(TYPE) TYPE_LANG_FLAG_5 ( FUNCTION_TYPE_CHECK(TYPE)) | |
4 #define CbC_HAVE_CbC_GOTO(EXP) DECL_LANG_FLAG_4 (FUNCTION_DECL_CHECK (EXP)) | |
5 | |
6 /* Set if the CALL_EXPR NODE is goto statement on CbC language. */ | |
7 //#define CbC_IS_CbC_GOTO(NODE) (CALL_EXPR_CHECK(NODE)->common.lang_flag_5) | |
8 | |
9 // old difinition | |
10 //#define CbC_IS_CODE_SEGMENT(EXP) DECL_LANG_FLAG_7 (FUNCTION_DECL_CHECK (EXP)) | |
11 //#define CbC_IS_CODE_SEGMENT(NODE) (TYPE_CHECK (NODE)->type.lang_flag_5) | |
12 #define CbC_IS_CbC_GOTO(NODE) TREE_LANG_FLAG_5 (CALL_EXPR_CHECK(NODE)) | |
13 | |
14 extern tree cbc_return_f; | |
15 extern tree cbc_env; | |
16 extern location_t cbc_return; |