summaryrefslogtreecommitdiff
path: root/scope.c
diff options
context:
space:
mode:
authorMarcus Holland-Moritz <mhx-perl@gmx.net>2005-01-10 19:25:27 +0000
committerMarcus Holland-Moritz <mhx-perl@gmx.net>2005-01-10 19:25:27 +0000
commit766f891612bf493b0430beb068ead367d70cdef6 (patch)
tree51378b3e215f1cbbe4f9bebe4d1c8e6cb493bb9e /scope.c
parente3a4ba2609bab5af03e410e3d8a38f237348f922 (diff)
downloadperl-766f891612bf493b0430beb068ead367d70cdef6.tar.gz
Remove PERL_FLEXIBLE_EXCEPTIONS code.
p4raw-id: //depot/perl@23780
Diffstat (limited to 'scope.c')
-rw-r--r--scope.c31
1 files changed, 0 insertions, 31 deletions
diff --git a/scope.c b/scope.c
index af10b71383..fe2ceca7a5 100644
--- a/scope.c
+++ b/scope.c
@@ -24,37 +24,6 @@
#define PERL_IN_SCOPE_C
#include "perl.h"
-#if defined(PERL_FLEXIBLE_EXCEPTIONS)
-void *
-Perl_default_protect(pTHX_ volatile JMPENV *pcur_env, int *excpt,
- protect_body_t body, ...)
-{
- void *ret;
- va_list args;
- va_start(args, body);
- ret = vdefault_protect(pcur_env, excpt, body, &args);
- va_end(args);
- return ret;
-}
-
-void *
-Perl_vdefault_protect(pTHX_ volatile JMPENV *pcur_env, int *excpt,
- protect_body_t body, va_list *args)
-{
- int ex;
- void *ret;
-
- JMPENV_PUSH(ex);
- if (ex)
- ret = NULL;
- else
- ret = CALL_FPTR(body)(aTHX_ *args);
- *excpt = ex;
- JMPENV_POP;
- return ret;
-}
-#endif
-
SV**
Perl_stack_grow(pTHX_ SV **sp, SV **p, int n)
{