summaryrefslogtreecommitdiff
path: root/sv.c
diff options
context:
space:
mode:
authorJoshua Pritikin <joshua.pritikin@db.com>1998-06-26 05:34:34 -0400
committerGurusamy Sarathy <gsar@cpan.org>1998-06-28 21:35:02 +0000
commitd3acc0f7e51973106c8c51ff053cffc8bd402843 (patch)
tree00f1e3a5300571443c61a4ea0113c741c33431ca /sv.c
parentea7c11a37de2088ba174a077e567a01d0e73d0ca (diff)
downloadperl-d3acc0f7e51973106c8c51ff053cffc8bd402843.tar.gz
PUSHSTACK renovation
Message-Id: <H00000e500081d23@MHS> p4raw-id: //depot/perl@1254
Diffstat (limited to 'sv.c')
-rw-r--r--sv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sv.c b/sv.c
index 8b0ce6d7d4..94fb230bdc 100644
--- a/sv.c
+++ b/sv.c
@@ -2799,7 +2799,7 @@ sv_clear(register SV *sv)
destructor = gv_fetchmethod(SvSTASH(sv), "DESTROY");
if (destructor) {
ENTER;
- PUSHSTACK(SI_DESTROY);
+ PUSHSTACKi(SI_DESTROY);
SvRV(&tmpref) = SvREFCNT_inc(sv);
EXTEND(SP, 2);
PUSHMARK(SP);
@@ -2808,7 +2808,7 @@ sv_clear(register SV *sv)
perl_call_sv((SV*)GvCV(destructor),
G_DISCARD|G_EVAL|G_KEEPERR);
SvREFCNT(sv)--;
- POPSTACK();
+ POPSTACK;
LEAVE;
}
} while (SvOBJECT(sv) && SvSTASH(sv) != stash);