diff options
author | Per Bothner <per@bothner.com> | 2004-07-13 19:36:38 -0700 |
---|---|---|
committer | Per Bothner <bothner@gcc.gnu.org> | 2004-07-13 19:36:38 -0700 |
commit | 1cb6d0da5f66355be92cacd0f8c7617344b0e66f (patch) | |
tree | 169246f0954dfc20285a8360379b7db5e6516ac7 /gcc/java/java-tree.h | |
parent | bd09f5b8f1a4bac33cb7dfb2f344893464f8f7cc (diff) | |
download | gcc-1cb6d0da5f66355be92cacd0f8c7617344b0e66f.zip gcc-1cb6d0da5f66355be92cacd0f8c7617344b0e66f.tar.gz gcc-1cb6d0da5f66355be92cacd0f8c7617344b0e66f.tar.bz2 |
java-tree.h (all_class_filename): Remove useless macro.
* java-tree.h (all_class_filename): Remove useless macro.
(enum java_tree_index): Remove JTI_ALL_CLASS_FILENAME constant.
(BUILD_FILENAME_IDENTIFIER_NODE): Remove useless macro.
* parse.y (java_parser_context_restore_global): Replace
BUILD_FILENAME_IDENTIFIER_NODE by plain get_identifier.
* jcf-parse.c (read_class, java_parse_file): Likewise.
From-SVN: r84667
Diffstat (limited to 'gcc/java/java-tree.h')
-rw-r--r-- | gcc/java/java-tree.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/gcc/java/java-tree.h b/gcc/java/java-tree.h index 2cf9145..8959976 100644 --- a/gcc/java/java-tree.h +++ b/gcc/java/java-tree.h @@ -153,9 +153,6 @@ extern int compiling_from_source; #define all_class_list \ java_global_trees[JTI_ALL_CLASS_LIST] -/* List of all class filenames seen so far. */ -#define all_class_filename java_global_trees [JTI_ALL_CLASS_FILENAME] - /* List of virtual decls referred to by this translation unit, used to generate virtual method offset symbol table. */ @@ -415,7 +412,6 @@ enum java_tree_index JTI_CURRENT_CLASS, JTI_OUTPUT_CLASS, JTI_ALL_CLASS_LIST, - JTI_ALL_CLASS_FILENAME, JTI_PREDEF_FILENAMES, @@ -1674,16 +1670,6 @@ extern tree *type_map; scope of TYPE_DECL. */ #define DECL_INNER_CLASS_LIST(NODE) DECL_INITIAL (TYPE_DECL_CHECK (NODE)) -/* Build a IDENTIFIER_NODE for a file name we're considering. Since - all_class_filename is a registered root, putting this identifier - in a TREE_LIST it holds keeps this node alive. */ -#define BUILD_FILENAME_IDENTIFIER_NODE(F, S) \ - if (!((F) = maybe_get_identifier ((S)))) \ - { \ - (F) = get_identifier ((S)); \ - tree_cons ((F), NULL_TREE, all_class_filename); \ - } - /* Add a FIELD_DECL to RECORD_TYPE RTYPE. The field has name NAME (a char*), and type FTYPE. Unless this is the first field, FIELD most hold the previous field. |