diff options
author | Jeff Sturm <jsturm@one-point.com> | 2002-12-23 19:42:09 +0000 |
---|---|---|
committer | Jeff Sturm <jsturm@gcc.gnu.org> | 2002-12-23 19:42:09 +0000 |
commit | d3ab697ba4d1eeeecc4ab37337cbcad455c80057 (patch) | |
tree | 8de2de732a2a531c035647c360acaa01a32c9d78 /gcc/java/java-tree.h | |
parent | 46d40353c383ea8aa490e88cb43adf1652176985 (diff) | |
download | gcc-d3ab697ba4d1eeeecc4ab37337cbcad455c80057.zip gcc-d3ab697ba4d1eeeecc4ab37337cbcad455c80057.tar.gz gcc-d3ab697ba4d1eeeecc4ab37337cbcad455c80057.tar.bz2 |
class.c (build_static_field_ref): Check FIELD_FINAL.
* class.c (build_static_field_ref): Check FIELD_FINAL.
* constants.c (alloc_class_constant): Use TYPE_CPOOL_DATA_REF
instead of current_constant_pool_data_ref.
* java-tree.h (current_constant_pool_data_ref): Undefine.
(JTI_CURRENT_CONSTANT_POOL_DATA_REF): Remove.
* jcf-parse.c (init_outgoing_cpool): Don't initialize
current_constant_pool_data_ref.
* except.c (prepare_eh_table_type ): Use DECL_NAME of class type,
not build_internal_class_name.
* parse.y (patch_incomplete_class_ref): Always emit `class$' method.
Use it when class ref isn't certain to be compiled.
From-SVN: r60448
Diffstat (limited to 'gcc/java/java-tree.h')
-rw-r--r-- | gcc/java/java-tree.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/gcc/java/java-tree.h b/gcc/java/java-tree.h index 046cb9d..41b6297 100644 --- a/gcc/java/java-tree.h +++ b/gcc/java/java-tree.h @@ -399,7 +399,6 @@ enum java_tree_index JTI_NATIVECODE_PTR_ARRAY_TYPE_NODE, JTI_WFL_OPERATOR, - JTI_CURRENT_CONSTANT_POOL_DATA_REF, JTI_MAIN_CLASS, JTI_CURRENT_CLASS, @@ -685,10 +684,6 @@ extern GTY(()) tree java_global_trees[JTI_MAX]; /* They need to be reset before processing each class */ extern struct CPool *outgoing_cpool; -/* If non-NULL, an ADDR_EXPR referencing a VAR_DECL containing - the constant data array for the current class. */ -#define current_constant_pool_data_ref \ - java_global_trees[JTI_CURRENT_CONSTANT_POOL_DATA_REF] #define wfl_operator \ java_global_trees[JTI_WFL_OPERATOR] |