aboutsummaryrefslogtreecommitdiff
path: root/gcc/java/expr.c
diff options
context:
space:
mode:
authorPer Bothner <bothner@gcc.gnu.org>1999-01-16 02:00:29 -0800
committerPer Bothner <bothner@gcc.gnu.org>1999-01-16 02:00:29 -0800
commitaabd7048259b5e8cb8980cca95fb2d14096c2621 (patch)
treed5099cf85a030d4f4dc3b6272d86ab60fa028821 /gcc/java/expr.c
parent2dc219a11db3efc10d1564bf31db97aa7918e61b (diff)
downloadgcc-aabd7048259b5e8cb8980cca95fb2d14096c2621.zip
gcc-aabd7048259b5e8cb8980cca95fb2d14096c2621.tar.gz
gcc-aabd7048259b5e8cb8980cca95fb2d14096c2621.tar.bz2
expr.c (process_jvm_instruction): Coerce to correct Throwable sub-type the result of the call that gets the...
d * expr.c (process_jvm_instruction): Coerce to correct Throwable sub-type the result of the call that gets the exception value. * parse.y (java_complete_expand_methods): If flags_syntax_only, don't call finish_class. * parse.y (java_check_regular_methods): If METHOD_PRIVATE, clear found before continuing. * verify.c (verify_jvm_instructions): On an array load, allow and handle top of stack to be TYPE_NULL. From-SVN: r24697
Diffstat (limited to 'gcc/java/expr.c')
-rw-r--r--gcc/java/expr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/java/expr.c b/gcc/java/expr.c
index 623eb90..ab3d2f3 100644
--- a/gcc/java/expr.c
+++ b/gcc/java/expr.c
@@ -2197,8 +2197,8 @@ process_jvm_instruction (PC, byte_ops, length)
replace the top of the stack with the thrown object reference */
if (instruction_bits [PC] & BCODE_EXCEPTION_TARGET)
{
- pop_value (ptr_type_node);
- push_value (soft_exceptioninfo_call_node);
+ tree type = pop_type (ptr_type_node);
+ push_value (build1 (NOP_EXPR, type, soft_exceptioninfo_call_node));
}
switch (byte_ops[PC++])