summaryrefslogtreecommitdiff
path: root/scope.c
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2007-03-17 15:14:38 +0000
committerNicholas Clark <nick@ccl4.org>2007-03-17 15:14:38 +0000
commita2edbdc9c7ad63359455c7aff3db47e75ffe578b (patch)
tree6a2c9e6a51c5e5f01b2bcf78c7ba0e0bad164b64 /scope.c
parent5b6782b28b8a9d505447276bdd3de3a802f641dd (diff)
downloadperl-a2edbdc9c7ad63359455c7aff3db47e75ffe578b.tar.gz
Remove the other 4 bits of MAD code designed to abort on local $^L.
p4raw-id: //depot/perl@30607
Diffstat (limited to 'scope.c')
-rw-r--r--scope.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/scope.c b/scope.c
index b6b876b392..6bd77da23e 100644
--- a/scope.c
+++ b/scope.c
@@ -182,10 +182,6 @@ Perl_save_scalar(pTHX_ GV *gv)
{
dVAR;
SV ** const sptr = &GvSVn(gv);
-#ifdef PERL_MAD
- if (PL_formfeed && *sptr == PL_formfeed)
- abort();
-#endif
PL_localizing = 1;
SvGETMAGIC(*sptr);
PL_localizing = 0;
@@ -202,10 +198,6 @@ void
Perl_save_generic_svref(pTHX_ SV **sptr)
{
dVAR;
-#ifdef PERL_MAD
- if (PL_formfeed && *sptr == PL_formfeed)
- abort();
-#endif
SSCHECK(3);
SSPUSHPTR(sptr);
SSPUSHPTR(SvREFCNT_inc(*sptr));
@@ -322,11 +314,6 @@ Perl_save_item(pTHX_ register SV *item)
dVAR;
register SV * const sv = newSVsv(item);
-#ifdef PERL_MAD
- if (PL_formfeed && item == PL_formfeed)
- abort();
-#endif
-
SSCHECK(3);
SSPUSHPTR(item); /* remember the pointer */
SSPUSHPTR(sv); /* remember the value */
@@ -565,10 +552,6 @@ SV*
Perl_save_svref(pTHX_ SV **sptr)
{
dVAR;
-#ifdef PERL_MAD
- if (PL_formfeed && *sptr == PL_formfeed)
- abort();
-#endif
SvGETMAGIC(*sptr);
SSCHECK(3);
SSPUSHPTR(sptr);