summaryrefslogtreecommitdiff
path: root/mg.c
diff options
context:
space:
mode:
authorDave Mitchell <davem@fdisolutions.com>2004-07-23 09:52:59 +0000
committerDave Mitchell <davem@fdisolutions.com>2004-07-23 09:52:59 +0000
commitf39bc417872f70cd842818eabb72f1c97d78cdd2 (patch)
tree580290513860e81838a2510e5ea1fa7fc109e826 /mg.c
parent0dfdcd8a63a82bd61087d84a6f130e03a4b20ed9 (diff)
downloadperl-f39bc417872f70cd842818eabb72f1c97d78cdd2.tar.gz
remove the return stack PL_retstack, and store return ops in the CX
structure directly instead p4raw-id: //depot/perl@23156
Diffstat (limited to 'mg.c')
-rw-r--r--mg.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/mg.c b/mg.c
index 4ab7f4f96f..0feb7daf8c 100644
--- a/mg.c
+++ b/mg.c
@@ -2529,8 +2529,6 @@ Perl_sighandler(int sig)
flags |= 1;
if (PL_markstack_ptr < PL_markstack_max - 2)
flags |= 4;
- if (PL_retstack_ix < PL_retstack_max - 2)
- flags |= 8;
if (PL_scopestack_ix < PL_scopestack_max - 3)
flags |= 16;
@@ -2548,10 +2546,6 @@ Perl_sighandler(int sig)
}
if (flags & 4)
PL_markstack_ptr++; /* Protect mark. */
- if (flags & 8) {
- PL_retstack_ix++;
- PL_retstack[PL_retstack_ix] = NULL;
- }
if (flags & 16)
PL_scopestack_ix += 1;
/* sv_2cv is too complicated, try a simpler variant first: */
@@ -2612,8 +2606,6 @@ cleanup:
PL_savestack_ix -= 8; /* Unprotect save in progress. */
if (flags & 4)
PL_markstack_ptr--;
- if (flags & 8)
- PL_retstack_ix--;
if (flags & 16)
PL_scopestack_ix -= 1;
if (flags & 64)