diff options
author | Nicholas Clark <nick@ccl4.org> | 2008-12-01 11:54:42 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2008-12-01 11:54:42 +0000 |
commit | 35d4f826f8e56c33d13476d0f2f79c923032b721 (patch) | |
tree | 0a96252242eb7b62d66bfb9a179ef9ca66d0a535 /scope.c | |
parent | be84297eef8d269e574a1aac0dbf18f3c3b7341d (diff) | |
download | perl-35d4f826f8e56c33d13476d0f2f79c923032b721.tar.gz |
Re-order Perl_save_delete() to PTR, INT, PTR.
p4raw-id: //depot/perl@34967
Diffstat (limited to 'scope.c')
-rw-r--r-- | scope.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -506,8 +506,8 @@ Perl_save_delete(pTHX_ HV *hv, char *key, I32 klen) PERL_ARGS_ASSERT_SAVE_DELETE; SSCHECK(4); - SSPUSHINT(klen); SSPUSHPTR(key); + SSPUSHINT(klen); SSPUSHPTR(SvREFCNT_inc_simple(hv)); SSPUSHINT(SAVEt_DELETE); } @@ -861,8 +861,9 @@ Perl_leave_scope(pTHX_ I32 base) case SAVEt_DELETE: ptr = SSPOPPTR; hv = MUTABLE_HV(ptr); + i = SSPOPINT; ptr = SSPOPPTR; - (void)hv_delete(hv, (char*)ptr, (I32)SSPOPINT, G_DISCARD); + (void)hv_delete(hv, (char*)ptr, i, G_DISCARD); SvREFCNT_dec(hv); Safefree(ptr); break; |