diff options
author | Nathan Froyd <froydnj@codesourcery.com> | 2010-05-26 13:55:30 +0000 |
---|---|---|
committer | Nathan Froyd <froydnj@gcc.gnu.org> | 2010-05-26 13:55:30 +0000 |
commit | cf484e9170ac7734b57a294d40dad8a51233ae32 (patch) | |
tree | d7090aa8ea8d699205d27a0d02e5b8fbb2502533 /gcc/java/class.c | |
parent | 5f0f4a3bc5e8f25e586b6983d6c8138a89aa030e (diff) | |
download | gcc-cf484e9170ac7734b57a294d40dad8a51233ae32.zip gcc-cf484e9170ac7734b57a294d40dad8a51233ae32.tar.gz gcc-cf484e9170ac7734b57a294d40dad8a51233ae32.tar.bz2 |
class.c (utf8_decl_list): Delete.
* class.c (utf8_decl_list): Delete.
(build_utf8_ref): Remove references to it.
* java-tree.h (all_class_list): Delete.
(predef_filenames): Delete.
(enum java_tree_index) [JTI ALL_CLASS_LIST,JTI_PREDEF_FILENAMES]:
Delete.
* jcf-parse.c (parse_roots): Decrease size to 2.
(current_file_list): Convert to a VEC.
(all_class_list): Declare.
(jcf_parse): Adjust for new type of all_class_list.
(java_layout_seen_class_methods): Likewise.
(predefined_filenames): Declare.
(add_predefined_file): Use it.
(predefined_filename_p): Likewise.
(java_parse_file): Adjust for new type of current_file_list. *
From-SVN: r159870
Diffstat (limited to 'gcc/java/class.c')
-rw-r--r-- | gcc/java/class.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/gcc/java/class.c b/gcc/java/class.c index 919d698..5f91ddc 100644 --- a/gcc/java/class.c +++ b/gcc/java/class.c @@ -930,8 +930,6 @@ hashUtf8String (const char *str, int len) return hash; } -static GTY(()) tree utf8_decl_list = NULL_TREE; - tree build_utf8_ref (tree name) { @@ -996,14 +994,12 @@ build_utf8_ref (tree name) } } - TREE_CHAIN (decl) = utf8_decl_list; layout_decl (decl, 0); DECL_SIZE (decl) = TYPE_SIZE (ctype); DECL_SIZE_UNIT (decl) = TYPE_SIZE_UNIT (ctype); pushdecl (decl); rest_of_decl_compilation (decl, global_bindings_p (), 0); varpool_mark_needed_node (varpool_node (decl)); - utf8_decl_list = decl; ref = build1 (ADDR_EXPR, utf8const_ptr_type, decl); IDENTIFIER_UTF8_REF (name) = ref; return ref; |