aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryce McKinlay <bryce@waitaki.otago.ac.nz>2001-12-20 22:50:21 +0000
committerBryce McKinlay <bryce@gcc.gnu.org>2001-12-20 22:50:21 +0000
commit7899e8b9f5e3306eeaeec3d9a911719d83eb9c0e (patch)
tree27dc2187094fd2c87f7c2e6d6ccc7cf6f2e16b68
parentde4984af13a0f7edab6466b76afde368e8bc19c8 (diff)
downloadgcc-7899e8b9f5e3306eeaeec3d9a911719d83eb9c0e.zip
gcc-7899e8b9f5e3306eeaeec3d9a911719d83eb9c0e.tar.gz
gcc-7899e8b9f5e3306eeaeec3d9a911719d83eb9c0e.tar.bz2
decl.c (java_init_decl_processing): Don't initialize finit_leg_identifier_node.
* decl.c (java_init_decl_processing): Don't initialize finit_leg_identifier_node. * java-tree.h (java_tree_index): Remove JTI_FINIT_LEG_IDENTIFIER_NODE. (finit_leg_identifier_node): Remove. (ID_FINIT_P): Don't check for JTI_FINIT_LEG_IDENTIFIER_NODE. From-SVN: r48221
-rw-r--r--gcc/java/ChangeLog8
-rw-r--r--gcc/java/decl.c5
-rw-r--r--gcc/java/java-tree.h14
3 files changed, 11 insertions, 16 deletions
diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog
index 12a17fe..9c12538 100644
--- a/gcc/java/ChangeLog
+++ b/gcc/java/ChangeLog
@@ -1,5 +1,13 @@
2001-12-20 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
+ * decl.c (java_init_decl_processing): Don't initialize
+ finit_leg_identifier_node.
+ * java-tree.h (java_tree_index): Remove JTI_FINIT_LEG_IDENTIFIER_NODE.
+ (finit_leg_identifier_node): Remove.
+ (ID_FINIT_P): Don't check for JTI_FINIT_LEG_IDENTIFIER_NODE.
+
+2001-12-20 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
+
* mangle.c (mangle_member_name): Don't special-case for
NO_DOLLAR_IN_LABEL.
* mangle_name.c (unicode_mangling_length): Likewise.
diff --git a/gcc/java/decl.c b/gcc/java/decl.c
index edf437c..f7464a8 100644
--- a/gcc/java/decl.c
+++ b/gcc/java/decl.c
@@ -577,11 +577,6 @@ java_init_decl_processing ()
TYPE_identifier_node = get_identifier ("TYPE");
init_identifier_node = get_identifier ("<init>");
clinit_identifier_node = get_identifier ("<clinit>");
- /* Legacy `$finit$' special method identifier. This needs to be
- recognized as equivalent to `finit$' but isn't generated anymore. */
- finit_leg_identifier_node = get_identifier ("$finit$");
- /* The new `finit$' special method identifier. This one is now
- generated in place of `$finit$'. */
finit_identifier_node = get_identifier ("finit$");
instinit_identifier_node = get_identifier ("instinit$");
void_signature_node = get_identifier ("()V");
diff --git a/gcc/java/java-tree.h b/gcc/java/java-tree.h
index 649a288..a96a7f7 100644
--- a/gcc/java/java-tree.h
+++ b/gcc/java/java-tree.h
@@ -304,7 +304,6 @@ enum java_tree_index
JTI_CLINIT_IDENTIFIER_NODE,
JTI_FINIT_IDENTIFIER_NODE,
JTI_INSTINIT_IDENTIFIER_NODE,
- JTI_FINIT_LEG_IDENTIFIER_NODE,
JTI_VOID_SIGNATURE_NODE,
JTI_LENGTH_IDENTIFIER_NODE,
JTI_FINALIZE_IDENTIFIER_NODE,
@@ -504,8 +503,6 @@ extern tree java_global_trees[JTI_MAX];
java_global_trees[JTI_CLINIT_IDENTIFIER_NODE] /* "<clinit>" */
#define finit_identifier_node \
java_global_trees[JTI_FINIT_IDENTIFIER_NODE] /* "finit$" */
-#define finit_leg_identifier_node \
- java_global_trees[JTI_FINIT_LEG_IDENTIFIER_NODE] /* "$finit$" */
/* FIXME "instinit$" and "finit$" should be merged */
#define instinit_identifier_node \
java_global_trees[JTI_INSTINIT_IDENTIFIER_NODE] /* "instinit$" */
@@ -997,7 +994,7 @@ struct lang_type
struct JCF *jcf;
struct CPool *cpool;
tree cpool_data_ref; /* Cached */
- tree finit_stmt_list; /* List of statements $finit$ will use */
+ tree finit_stmt_list; /* List of statements finit$ will use */
tree clinit_stmt_list; /* List of statements <clinit> will use */
tree ii_block; /* Instance initializer block */
tree dot_class; /* The decl of the `class$' function that
@@ -1261,12 +1258,7 @@ struct rtx_def * java_lang_expand_expr PARAMS ((tree, rtx, enum machine_mode,
/* Predicates on method identifiers. Kept close to other macros using
them */
#define ID_INIT_P(ID) ((ID) == init_identifier_node)
-/* Match ID to either `$finit$' or `finit$', so that `$finit$'
- continues to be recognized as an equivalent to `finit$' which is
- now the preferred name used for the field initialization special
- method. */
-#define ID_FINIT_P(ID) ((ID) == finit_identifier_node \
- || (ID) == finit_leg_identifier_node)
+#define ID_FINIT_P(ID) ((ID) == finit_identifier_node)
#define ID_CLINIT_P(ID) ((ID) == clinit_identifier_node)
#define ID_CLASSDOLLAR_P(ID) ((ID) == classdollar_identifier_node)
#define ID_INSTINIT_P(ID) ((ID) == instinit_identifier_node)
@@ -1426,7 +1418,7 @@ extern tree *type_map;
layout of a class. */
#define CLASS_BEING_LAIDOUT(TYPE) TYPE_LANG_FLAG_6 (TYPE)
-/* True if class TYPE has a field initializer $finit$ function */
+/* True if class TYPE has a field initializer finit$ function */
#define CLASS_HAS_FINIT_P(TYPE) TYPE_FINIT_STMT_LIST (TYPE)
/* True if identifier ID was seen while processing a single type import stmt */