* parse.y (source_end_java_method): Likewise.
authorRichard Henderson <rth@redhat.com>
Wed, 28 Mar 2001 05:04:20 +0000 (21:04 -0800)
committerRichard Henderson <rth@gcc.gnu.org>
Wed, 28 Mar 2001 05:04:20 +0000 (21:04 -0800)
From-SVN: r40904

gcc/java/ChangeLog
gcc/java/parse.y

index 17bd9d5a42a82b218b651982da98cd978dc84f67..5e9a97d02968adc2c396fa9a593d46587c5771fc 100644 (file)
@@ -2,6 +2,7 @@
 
        * decl.c (end_java_method): Rename asynchronous_exceptions to
        flag_non_call_exceptions.
+       * parse.y (source_end_java_method): Likewise.
 
 2001-03-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
 
index f42d76399dedcc3e19d1ba1884a046241871e6ba..4e688bba60e9b403189147dd311cb2652c969bc3 100644 (file)
@@ -7117,7 +7117,7 @@ static void
 source_end_java_method ()
 {
   tree fndecl = current_function_decl;
-  int flag_asynchronous_exceptions = asynchronous_exceptions;
+  int flag_flag_non_call_exceptions = flag_non_call_exceptions;
 
   if (!fndecl)
     return;
@@ -7154,11 +7154,11 @@ source_end_java_method ()
       expand_function_end (input_filename, lineno, 0);
 
       /* FIXME: If the current method contains any exception handlers,
-        force asynchronous_exceptions: this is necessary because signal
+        force flag_non_call_exceptions: this is necessary because signal
         handlers in libjava may throw exceptions.  This is far from being
         a perfect solution, but it's better than doing nothing at all.*/
       if (catch_clauses)
-       asynchronous_exceptions = 1;
+       flag_non_call_exceptions = 1;
 
       /* Run the optimizers and output assembler code for this function. */
       rest_of_compilation (fndecl);
@@ -7166,7 +7166,7 @@ source_end_java_method ()
 
   current_function_decl = NULL_TREE;
   java_parser_context_restore_global ();
-  asynchronous_exceptions = flag_asynchronous_exceptions;
+  flag_non_call_exceptions = flag_flag_non_call_exceptions;
 }
 
 /* Record EXPR in the current function block. Complements compound