summaryrefslogtreecommitdiffstats
path: root/gcc/java/except.c
diff options
context:
space:
mode:
authorjsturm <jsturm@138bc75d-0d04-0410-961f-82ee72b054a4>2002-12-23 19:42:09 +0000
committerjsturm <jsturm@138bc75d-0d04-0410-961f-82ee72b054a4>2002-12-23 19:42:09 +0000
commitdeff3a7fa78048cc09415ce94a8170935730bda2 (patch)
tree8de2de732a2a531c035647c360acaa01a32c9d78 /gcc/java/except.c
parent3aedf6d6df4e84b7b35ef8eeadd4d3f4454b546c (diff)
downloadppe42-gcc-deff3a7fa78048cc09415ce94a8170935730bda2.tar.gz
ppe42-gcc-deff3a7fa78048cc09415ce94a8170935730bda2.zip
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60448 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/java/except.c')
-rw-r--r--gcc/java/except.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/java/except.c b/gcc/java/except.c
index 4e662b94c5b..0c7a4742293 100644
--- a/gcc/java/except.c
+++ b/gcc/java/except.c
@@ -336,7 +336,7 @@ prepare_eh_table_type (type)
else
exp = fold (build
(PLUS_EXPR, ptr_type_node,
- build_utf8_ref (build_internal_class_name (type)),
+ build_utf8_ref (DECL_NAME (TYPE_NAME (type))),
size_one_node));
return exp;
}
OpenPOWER on IntegriCloud