From 027b7c36fb7019602b59ecec252afa15b721ced0 Mon Sep 17 00:00:00 2001 From: Per Bothner Date: Tue, 1 Mar 2005 08:45:19 -0800 Subject: java-tree.h (IDENTIFIER_HANDLECLASS_VALUE): Remove ancient macro. * java-tree.h (IDENTIFIER_HANDLECLASS_VALUE): Remove ancient macro. Also improve commenst for IDENTIFIER_CLASS_VALUE. From-SVN: r95747 --- gcc/java/java-tree.h | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'gcc/java/java-tree.h') diff --git a/gcc/java/java-tree.h b/gcc/java/java-tree.h index bd76446..7f58dfa 100644 --- a/gcc/java/java-tree.h +++ b/gcc/java/java-tree.h @@ -730,16 +730,11 @@ union lang_tree_node #define IDENTIFIER_LOCAL_VALUE(NODE) \ (((struct lang_identifier *)(NODE))->local_value) -/* Given an identifier NODE, get the corresponding (non-handle) class. - For get_identifier ("java.lang.Number"), the result is - the struct whose DECL_ASSEMBLER_NAME is "Classjava_lang_Number". */ +/* Given an identifier NODE, get the corresponding class. + E.g. IDENTIFIER_CLASS_VALUE(get_identifier ("java.lang.Number")) + is the corresponding RECORD_TYPE. */ #define IDENTIFIER_CLASS_VALUE(NODE) IDENTIFIER_GLOBAL_VALUE(NODE) -/* Given an identifier NODE, get the corresponding handle class. - For get_identifier ("java.lang.Number"), the result is - the struct whose DECL_ASSEMBLER_NAME is "Hjava_lang_Number". */ -#define IDENTIFIER_HANDLECLASS_VALUE(NODE) ??? - /* Given a signature of a reference (or array) type, or a method, return the corresponding type (if one has been allocated). Do not use for primitive types, since they may be ambiguous. -- cgit v1.1