aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/except.c
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2001-03-27 21:24:24 -0800
committerRichard Henderson <rth@gcc.gnu.org>2001-03-27 21:24:24 -0800
commit531073e70e23f5faa6a88240b5cd73e4df3202d6 (patch)
treebb2aa76dca055c2e46eabf6e73ba0e455926a762 /gcc/cp/except.c
parent979988f32cd329b479079a32a12445f53125108d (diff)
downloadgcc-531073e70e23f5faa6a88240b5cd73e4df3202d6.zip
gcc-531073e70e23f5faa6a88240b5cd73e4df3202d6.tar.gz
gcc-531073e70e23f5faa6a88240b5cd73e4df3202d6.tar.bz2
Make -fsjlj-exceptions a configure option.
From-SVN: r40905
Diffstat (limited to 'gcc/cp/except.c')
-rw-r--r--gcc/cp/except.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/cp/except.c b/gcc/cp/except.c
index 65de458..ee0bd8c 100644
--- a/gcc/cp/except.c
+++ b/gcc/cp/except.c
@@ -788,13 +788,13 @@ expand_exception_blocks ()
/* We cannot protect n regions this way if we must flow into the
EH region through the top of the region, as we have to with
the setjmp/longjmp approach. */
- if (exceptions_via_longjmp == 0)
+ if (USING_SJLJ_EXCEPTIONS == 0)
expand_eh_region_start ();
emit_insns (catch_clauses);
catch_clauses = catch_clauses_last = NULL_RTX;
- if (exceptions_via_longjmp == 0)
+ if (USING_SJLJ_EXCEPTIONS == 0)
expand_eh_region_end (build_terminate_handler ());
emit_insns (catch_clauses);
@@ -852,7 +852,7 @@ expand_throw (exp)
/* A Java `throw' statement. */
tree args = tree_cons (NULL_TREE, exp, NULL);
- fn = get_identifier (exceptions_via_longjmp
+ fn = get_identifier (USING_SJLJ_EXCEPTIONS
? "_Jv_Sjlj_Throw"
: "_Jv_Throw");
if (IDENTIFIER_GLOBAL_VALUE (fn))