Commit 027b7c36 by Per Bothner Committed by Per Bothner

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
parent 255508dd
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> 2005-02-23 Thomas Fitzsimmons <fitzsim@redhat.com>
PR libgcj/16923 PR libgcj/16923
......
...@@ -730,16 +730,11 @@ union lang_tree_node ...@@ -730,16 +730,11 @@ union lang_tree_node
#define IDENTIFIER_LOCAL_VALUE(NODE) \ #define IDENTIFIER_LOCAL_VALUE(NODE) \
(((struct lang_identifier *)(NODE))->local_value) (((struct lang_identifier *)(NODE))->local_value)
/* Given an identifier NODE, get the corresponding (non-handle) class. /* Given an identifier NODE, get the corresponding class.
For get_identifier ("java.lang.Number"), the result is E.g. IDENTIFIER_CLASS_VALUE(get_identifier ("java.lang.Number"))
the struct whose DECL_ASSEMBLER_NAME is "Classjava_lang_Number". */ is the corresponding RECORD_TYPE. */
#define IDENTIFIER_CLASS_VALUE(NODE) IDENTIFIER_GLOBAL_VALUE(NODE) #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 /* Given a signature of a reference (or array) type, or a method, return the
corresponding type (if one has been allocated). corresponding type (if one has been allocated).
Do not use for primitive types, since they may be ambiguous. Do not use for primitive types, since they may be ambiguous.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment