diff options
author | Richard Henderson <rth@redhat.com> | 2001-03-27 21:24:24 -0800 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2001-03-27 21:24:24 -0800 |
commit | 531073e70e23f5faa6a88240b5cd73e4df3202d6 (patch) | |
tree | bb2aa76dca055c2e46eabf6e73ba0e455926a762 /gcc/java | |
parent | 979988f32cd329b479079a32a12445f53125108d (diff) | |
download | gcc-531073e70e23f5faa6a88240b5cd73e4df3202d6.zip gcc-531073e70e23f5faa6a88240b5cd73e4df3202d6.tar.gz gcc-531073e70e23f5faa6a88240b5cd73e4df3202d6.tar.bz2 |
Make -fsjlj-exceptions a configure option.
From-SVN: r40905
Diffstat (limited to 'gcc/java')
-rw-r--r-- | gcc/java/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/java/expr.c | 2 | ||||
-rw-r--r-- | gcc/java/parse.h | 2 |
3 files changed, 7 insertions, 2 deletions
diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog index 5e9a97d..7d985cb 100644 --- a/gcc/java/ChangeLog +++ b/gcc/java/ChangeLog @@ -1,5 +1,10 @@ 2001-03-27 Richard Henderson <rth@redhat.com> + * expr.c, parse.h: Use USING_SJLJ_EXCEPTIONS instead of + exceptions_via_longjmp. + +2001-03-27 Richard Henderson <rth@redhat.com> + * decl.c (end_java_method): Rename asynchronous_exceptions to flag_non_call_exceptions. * parse.y (source_end_java_method): Likewise. diff --git a/gcc/java/expr.c b/gcc/java/expr.c index 8be7f7d..7ec5e83 100644 --- a/gcc/java/expr.c +++ b/gcc/java/expr.c @@ -600,7 +600,7 @@ build_java_athrow (node) call = build (CALL_EXPR, void_type_node, - build_address_of (throw_node[exceptions_via_longjmp ? 1 : 0]), + build_address_of (throw_node[USING_SJLJ_EXCEPTIONS ? 1 : 0]), build_tree_list (NULL_TREE, node), NULL_TREE); TREE_SIDE_EFFECTS (call) = 1; diff --git a/gcc/java/parse.h b/gcc/java/parse.h index 3ca2141..05fb211 100644 --- a/gcc/java/parse.h +++ b/gcc/java/parse.h @@ -673,7 +673,7 @@ typedef struct _jdeplist { { \ (WHERE) = \ build (CALL_EXPR, void_type_node, \ - build_address_of (throw_node[exceptions_via_longjmp ? 1 : 0]), \ + build_address_of (throw_node[USING_SJLJ_EXCEPTIONS ? 1 : 0]), \ build_tree_list (NULL_TREE, (WHAT)), NULL_TREE); \ TREE_SIDE_EFFECTS ((WHERE)) = 1; \ } |