except.c (expand_end_java_handler): Call expand_resume_after_catch and end_catch_handler.
authorAlexandre Petit-Bianco <apbianco@cygnus.com>
Mon, 6 Dec 1999 19:37:30 +0000 (19:37 +0000)
committerAlexandre Petit-Bianco <apbianco@gcc.gnu.org>
Mon, 6 Dec 1999 19:37:30 +0000 (11:37 -0800)
Wed Dec  1 04:25:06 1999  Alexandre Petit-Bianco  <apbianco@cygnus.com>

        * except.c (expand_end_java_handler): Call
        expand_resume_after_catch and end_catch_handler.

From-SVN: r30807

gcc/java/ChangeLog
gcc/java/except.c

index 276dbd45947d7bb47f9a5dbee5f15e2d8e5eb189..f4432ec70d4ed0470804a7632bc39c1b53182513 100644 (file)
@@ -1,10 +1,15 @@
+Wed Dec  1 04:25:06 1999  Alexandre Petit-Bianco  <apbianco@cygnus.com>
+
+        * except.c (expand_end_java_handler): Call
+        expand_resume_after_catch and end_catch_handler.
+
 Tue Nov 30 12:28:34 1999  Alexandre Petit-Bianco  <apbianco@cygnus.com>
 
         * jcf-write.c (generate_byecode_insns): Fixed indentation for
         COMPOUND_EXPR and FIX_TRUNC_EXPR cases.
 
         * parse.y (patch_assignment): Removed bogus final class test on
-        lhs when checking on whether to emit an ArraySoreException runtime
+        lhs when checking on whether to emit an ArrayStoreException runtime
         check.
         * expr.c (expand_java_arraystore): Likewise. 
 
index 824be0bcb51cdf5b2fa52eaac324b051c3bd6a2f..3f88093feb1b3a461247246f3874446f6271e066 100644 (file)
@@ -333,6 +333,8 @@ expand_end_java_handler (range)
       start_catch_handler (prepare_eh_table_type (TREE_PURPOSE (handler)));
       /* Push the thrown object on the top of the stack */
       expand_goto (TREE_VALUE (handler));
+      expand_resume_after_catch ();
+      end_catch_handler ();
     }
   expand_end_all_catch ();
 }