annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
caeb520cebed patch for CbC
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
1 /* Set if the fntype is code segment on CbC language. */
caeb520cebed patch for CbC
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
2 // flag3,5,6 has been used by c-tree.h
caeb520cebed patch for CbC
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
3 #define CbC_IS_CODE_SEGMENT(TYPE) TYPE_LANG_FLAG_5 ( FUNCTION_TYPE_CHECK(TYPE))
caeb520cebed patch for CbC
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
4 #define CbC_HAVE_CbC_GOTO(EXP) DECL_LANG_FLAG_4 (FUNCTION_DECL_CHECK (EXP))
caeb520cebed patch for CbC
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
5
caeb520cebed patch for CbC
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
6 /* Set if the CALL_EXPR NODE is goto statement on CbC language. */
caeb520cebed patch for CbC
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
7 //#define CbC_IS_CbC_GOTO(NODE) (CALL_EXPR_CHECK(NODE)->common.lang_flag_5)
caeb520cebed patch for CbC
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
8
caeb520cebed patch for CbC
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
9 // old difinition
caeb520cebed patch for CbC
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
10 //#define CbC_IS_CODE_SEGMENT(EXP) DECL_LANG_FLAG_7 (FUNCTION_DECL_CHECK (EXP))
caeb520cebed patch for CbC
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
11 //#define CbC_IS_CODE_SEGMENT(NODE) (TYPE_CHECK (NODE)->type.lang_flag_5)
caeb520cebed patch for CbC
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
12 #define CbC_IS_CbC_GOTO(NODE) TREE_LANG_FLAG_5 (CALL_EXPR_CHECK(NODE))
caeb520cebed patch for CbC
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
13
caeb520cebed patch for CbC
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
14 extern tree cbc_return_f;
caeb520cebed patch for CbC
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
15 extern tree cbc_env;
caeb520cebed patch for CbC
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
16 extern location_t cbc_return;