diff options
Diffstat (limited to 'gcc/java/expr.c')
-rw-r--r-- | gcc/java/expr.c | 4 |
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++]) |