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 /sv.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 'sv.c')
-rw-r--r-- | sv.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -11261,9 +11261,11 @@ Perl_ss_dup(pTHX_ PerlInterpreter *proto_perl, CLONE_PARAMS* param) case SAVEt_DELETE: hv = (const HV *)POPPTR(ss,ix); TOPPTR(nss,ix) = hv_dup_inc(hv, param); + i = POPINT(ss,ix); + TOPINT(nss,ix) = i; c = (char*)POPPTR(ss,ix); TOPPTR(nss,ix) = pv_dup_inc(c); - /* fall through */ + break; case SAVEt_STACK_POS: /* Position on Perl stack */ i = POPINT(ss,ix); TOPINT(nss,ix) = i; |