aboutsummaryrefslogtreecommitdiff
path: root/gcc/java
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/java')
-rw-r--r--gcc/java/ChangeLog5
-rw-r--r--gcc/java/expr.c2
-rw-r--r--gcc/java/parse.h2
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; \
}