diff options
Diffstat (limited to 'gcc/java/parse.h')
-rw-r--r-- | gcc/java/parse.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/gcc/java/parse.h b/gcc/java/parse.h index fb489e0..08a96b4 100644 --- a/gcc/java/parse.h +++ b/gcc/java/parse.h @@ -177,9 +177,6 @@ extern tree stabilize_reference PROTO ((tree)); && (JNUMERIC_TYPE_P ((TYPE)) \ || TREE_CODE ((TYPE)) == BOOLEAN_TYPE)) -#define JPRIMITIVE_TYPE_OR_VOID_P(TYPE) \ - (JPRIMITIVE_TYPE_P (TYPE) || ((TYPE) == void_type_node)) - #define JBSC_TYPE_P(TYPE) ((TYPE) && (((TYPE) == byte_type_node) \ || ((TYPE) == short_type_node) \ || ((TYPE) == char_type_node))) @@ -583,6 +580,10 @@ typedef struct _jdeplist { ctxp->import_list = node; \ } +/* Safe check that DECL is <clinit> */ +#define IS_CLINIT(DECL) \ + (DECL != NULL_TREE && DECL_NAME (DECL) == clinit_identifier_node) + /* Macro to access the osb (opening square bracket) count */ #define CURRENT_OSB(C) (C)->osb_number [(C)->osb_depth] |