diff options
author | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-03-28 05:24:24 +0000 |
---|---|---|
committer | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-03-28 05:24:24 +0000 |
commit | 10be98bd87222a5f7c2a8eb07bf9ddbfd0d7f839 (patch) | |
tree | bb2aa76dca055c2e46eabf6e73ba0e455926a762 /gcc/cp/except.c | |
parent | e37b49973baa87e166784df747495ab2408ae0c4 (diff) | |
download | ppe42-gcc-10be98bd87222a5f7c2a8eb07bf9ddbfd0d7f839.tar.gz ppe42-gcc-10be98bd87222a5f7c2a8eb07bf9ddbfd0d7f839.zip |
Make -fsjlj-exceptions a configure option.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40905 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp/except.c')
-rw-r--r-- | gcc/cp/except.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/cp/except.c b/gcc/cp/except.c index 65de4580fb1..ee0bd8c1edf 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)) |