summaryrefslogtreecommitdiff
path: root/scope.c
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2008-12-01 13:19:41 +0000
committerNicholas Clark <nick@ccl4.org>2008-12-01 13:19:41 +0000
commit85a721ca70aa3423dbb60aac2a8755ab0fc07bbb (patch)
tree28044302e578ba6fb9393f7df07b5d9261f78785 /scope.c
parent35d4f826f8e56c33d13476d0f2f79c923032b721 (diff)
downloadperl-85a721ca70aa3423dbb60aac2a8755ab0fc07bbb.tar.gz
Implement Perl_save_delete() using save_pushptri32ptr().
p4raw-id: //depot/perl@34968
Diffstat (limited to 'scope.c')
-rw-r--r--scope.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/scope.c b/scope.c
index df661ae25c..6782e0bf40 100644
--- a/scope.c
+++ b/scope.c
@@ -505,11 +505,7 @@ Perl_save_delete(pTHX_ HV *hv, char *key, I32 klen)
PERL_ARGS_ASSERT_SAVE_DELETE;
- SSCHECK(4);
- SSPUSHPTR(key);
- SSPUSHINT(klen);
- SSPUSHPTR(SvREFCNT_inc_simple(hv));
- SSPUSHINT(SAVEt_DELETE);
+ save_pushptri32ptr(key, klen, SvREFCNT_inc_simple(hv), SAVEt_DELETE);
}
void