summaryrefslogtreecommitdiffstats
path: root/gcc/java/java-tree.h
diff options
context:
space:
mode:
authorbothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4>2005-03-01 16:45:19 +0000
committerbothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4>2005-03-01 16:45:19 +0000
commit2235fd0e535cde58490b2229f58eb19c2db32753 (patch)
treee1b098e3cc41bcfc713a631dacb9e48b57eb57e2 /gcc/java/java-tree.h
parent5cf564176fe9bdab8cdb6a591f5d64ac1af4cd2a (diff)
downloadppe42-gcc-2235fd0e535cde58490b2229f58eb19c2db32753.tar.gz
ppe42-gcc-2235fd0e535cde58490b2229f58eb19c2db32753.zip
* java-tree.h (IDENTIFIER_HANDLECLASS_VALUE): Remove ancient macro.
Also improve commenst for IDENTIFIER_CLASS_VALUE. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95747 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/java/java-tree.h')
-rw-r--r--gcc/java/java-tree.h11
1 files changed, 3 insertions, 8 deletions
diff --git a/gcc/java/java-tree.h b/gcc/java/java-tree.h
index bd7644604dd..7f58dfa7f5a 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.
OpenPOWER on IntegriCloud