From: Richard Henderson Date: Wed, 28 Mar 2001 05:04:20 +0000 (-0800) Subject: * parse.y (source_end_java_method): Likewise. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=979988f32cd329b479079a32a12445f53125108d;p=gcc.git * parse.y (source_end_java_method): Likewise. From-SVN: r40904 --- diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog index 17bd9d5a42a..5e9a97d0296 100644 --- a/gcc/java/ChangeLog +++ b/gcc/java/ChangeLog @@ -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 diff --git a/gcc/java/parse.y b/gcc/java/parse.y index f42d76399de..4e688bba60e 100644 --- a/gcc/java/parse.y +++ b/gcc/java/parse.y @@ -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