diff options
author | Richard Henderson <rth@redhat.com> | 2005-05-24 12:22:03 -0700 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2005-05-24 12:22:03 -0700 |
commit | e0f391dd9030fce35ef9bb3592c1115f56c5a615 (patch) | |
tree | 4a60193fab42a6c6d1b45415aecfc9c782a4737b /gcc/java/parse.y | |
parent | 8cfb12bfd597944d043b187199d23b3fc8381612 (diff) | |
download | gcc-e0f391dd9030fce35ef9bb3592c1115f56c5a615.zip gcc-e0f391dd9030fce35ef9bb3592c1115f56c5a615.tar.gz gcc-e0f391dd9030fce35ef9bb3592c1115f56c5a615.tar.bz2 |
builtins.c (define_builtin): Don't call make_decl_rtl.
* builtins.c (define_builtin): Don't call make_decl_rtl.
* constants.c (build_constant_data_ref): Likewise.
* class.c (build_utf8_ref): Likewise.
(build_fieldref_cache_entry, build_static_field_ref): Likewise.
(get_dispatch_table, layout_class_method): Likewise.
(build_class_ref): Likewise. Don't set DECL_SIZE or DECL_SIZE_UNIT
by hand.
(make_local_function_alias): Don't SET_DECL_ASSEMBLER_NAME.
(make_method_value): Use METHOD_ABSTRACT instead of DECL_RTL_SET_P
to determine if we need a non-zero address.
* decl.c (builtin_function): Don't call make_decl_rtl.
(give_name_to_locals): Don't SET_DECL_ASSEMBLER_NAME.
* expr.c (build_known_method_ref): Don't call make_decl_rtl.
* resource.c (compile_resource_data): Likewise.
* parse.y (resolve_field_access): Re-word comment to avoid
building DECL_RTL.
From-SVN: r100108
Diffstat (limited to 'gcc/java/parse.y')
-rw-r--r-- | gcc/java/parse.y | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/gcc/java/parse.y b/gcc/java/parse.y index e90fc42..388062e 100644 --- a/gcc/java/parse.y +++ b/gcc/java/parse.y @@ -9550,11 +9550,7 @@ resolve_field_access (tree qual_wfl, tree *field_decl, tree *field_type) field_ref = length; /* In case we're dealing with a static array, we need to - initialize its class before the array length can be fetched. - It's also a good time to create a DECL_RTL for the field if - none already exists, otherwise if the field was declared in a - class found in an external file and hasn't been (and won't - be) accessed for its value, none will be created. */ + initialize its class before the array length can be fetched. */ if (TREE_CODE (where_found) == VAR_DECL && FIELD_STATIC (where_found)) { build_static_field_ref (where_found); |