Mercurial > hg > CbC > CbC_gcc
diff 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 |
parents | 98e1e78a6b5a |
children |
line wrap: on
line diff
--- a/gcc/cbc-tree.h Sun Feb 05 10:24:11 2012 +0900 +++ b/gcc/cbc-tree.h Thu Feb 16 18:15:22 2012 +0900 @@ -13,7 +13,8 @@ extern tree cbc_env; extern location_t cbc_return; -/* flag of selftype is lang_flag_3. */ +/* 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)