aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorPer Bothner <per@bothner.com>2005-03-01 08:45:19 -0800
committerPer Bothner <bothner@gcc.gnu.org>2005-03-01 08:45:19 -0800
commit027b7c36fb7019602b59ecec252afa15b721ced0 (patch)
treee1b098e3cc41bcfc713a631dacb9e48b57eb57e2 /gcc
parent255508ddad675d1d846a6e90b9c016f519948486 (diff)
downloadgcc-027b7c36fb7019602b59ecec252afa15b721ced0.zip
gcc-027b7c36fb7019602b59ecec252afa15b721ced0.tar.gz
gcc-027b7c36fb7019602b59ecec252afa15b721ced0.tar.bz2
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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/java/ChangeLog4
-rw-r--r--gcc/java/java-tree.h11
2 files changed, 7 insertions, 8 deletions
diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog
index 5f9cd4a..ce77d68 100644
--- a/gcc/java/ChangeLog
+++ b/gcc/java/ChangeLog
@@ -1,3 +1,7 @@
+2005-03-01 Per Bothner <per@bothner.com>
+
+ * java-tree.h (IDENTIFIER_HANDLECLASS_VALUE): Remove ancient macro.
+
2005-02-23 Thomas Fitzsimmons <fitzsim@redhat.com>
PR libgcj/16923
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.