summaryrefslogtreecommitdiffstats
path: root/gcc/java/expr.c
diff options
context:
space:
mode:
authorbothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4>1998-12-23 10:46:45 +0000
committerbothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4>1998-12-23 10:46:45 +0000
commit1fac57eec6739eb2e240f3817b0805580bd947fe (patch)
treed2caa4d11dd4417a98a74be6e8b0a49a2e9c6768 /gcc/java/expr.c
parentc1291ed2b9ad2cb4c963022c372171091f1a0286 (diff)
downloadppe42-gcc-1fac57eec6739eb2e240f3817b0805580bd947fe.tar.gz
ppe42-gcc-1fac57eec6739eb2e240f3817b0805580bd947fe.zip
d
* expr.c (process_jvm_instruction): Do load_type_state after JSR. * verify.c (verify_jvm_instructions): Fix off-by-one error. * jcf-write.c (CHECK_PUT): Add (void) cast to avoid -Wall warnings. (localvar_alloc): Change return type to void, (emit_unop): Remove unused variable size. * jcf-write.c (struct jcf_block): Add new union. (PENDING_CLEANUP_PC, PENDING_EXIT_PC, UNDEFINED_PC): New macros. (call_cleanups): New functions. (struct jcf_partial): New fields num_finalizers and return_value_decl. (generate_bytecode_insns): Support CLEANUP_POINT_EXPR and WITH_CLEANUP_EXPR. Handle cleanups in RETURN_EXPR and EXIT_BLOCK_EXPR. * lang.c (lang_init): Call using_eh_for_cleanups. * parse.y (java_complete_lhs): For SYNCHRONIZED_EXPR, defer completing operands to patch_synchronized_statement. Support CLEANUP_POINT_EXPR, WITH_CLEANUP_EXPR. (patch_synchronized_statement): Re-write suing CLEANUP_POINT_EXPR and WITH_CLEANUP_EXPR instead of TRY_EXPR. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24406 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/java/expr.c')
-rw-r--r--gcc/java/expr.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/java/expr.c b/gcc/java/expr.c
index d669cb9bc17..e07f84d7f97 100644
--- a/gcc/java/expr.c
+++ b/gcc/java/expr.c
@@ -2191,6 +2191,7 @@ process_jvm_instruction (PC, byte_ops, length)
tree where = lookup_label (oldpc+OPERAND_VALUE); \
tree ret = lookup_label (PC); \
build_java_jsr (where, ret); \
+ load_type_state (ret); \
}
/* Push a constant onto the stack. */
OpenPOWER on IntegriCloud