aboutsummaryrefslogtreecommitdiff
path: root/gcc/java
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2001-03-27 21:04:20 -0800
committerRichard Henderson <rth@gcc.gnu.org>2001-03-27 21:04:20 -0800
commit979988f32cd329b479079a32a12445f53125108d (patch)
treedfd9ff74b80271cbef0f61b55a99c39fe3afe2e5 /gcc/java
parente64a65418f617483dc4e65ee4ea83162984ba73f (diff)
downloadgcc-979988f32cd329b479079a32a12445f53125108d.zip
gcc-979988f32cd329b479079a32a12445f53125108d.tar.gz
gcc-979988f32cd329b479079a32a12445f53125108d.tar.bz2
* parse.y (source_end_java_method): Likewise.
From-SVN: r40904
Diffstat (limited to 'gcc/java')
-rw-r--r--gcc/java/ChangeLog1
-rw-r--r--gcc/java/parse.y8
2 files changed, 5 insertions, 4 deletions
diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog
index 17bd9d5..5e9a97d 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 <ghazi@caip.rutgers.edu>
diff --git a/gcc/java/parse.y b/gcc/java/parse.y
index f42d763..4e688bb 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