diff options
author | Marcus Holland-Moritz <mhx-perl@gmx.net> | 2005-01-10 19:25:27 +0000 |
---|---|---|
committer | Marcus Holland-Moritz <mhx-perl@gmx.net> | 2005-01-10 19:25:27 +0000 |
commit | 766f891612bf493b0430beb068ead367d70cdef6 (patch) | |
tree | 51378b3e215f1cbbe4f9bebe4d1c8e6cb493bb9e /scope.c | |
parent | e3a4ba2609bab5af03e410e3d8a38f237348f922 (diff) | |
download | perl-766f891612bf493b0430beb068ead367d70cdef6.tar.gz |
Remove PERL_FLEXIBLE_EXCEPTIONS code.
p4raw-id: //depot/perl@23780
Diffstat (limited to 'scope.c')
-rw-r--r-- | scope.c | 31 |
1 files changed, 0 insertions, 31 deletions
@@ -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) { |