summaryrefslogtreecommitdiff
path: root/sv.c
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2008-12-01 11:54:42 +0000
committerNicholas Clark <nick@ccl4.org>2008-12-01 11:54:42 +0000
commit35d4f826f8e56c33d13476d0f2f79c923032b721 (patch)
tree0a96252242eb7b62d66bfb9a179ef9ca66d0a535 /sv.c
parentbe84297eef8d269e574a1aac0dbf18f3c3b7341d (diff)
downloadperl-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.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sv.c b/sv.c
index 2a4c581f6f..3a3f46e4c6 100644
--- a/sv.c
+++ b/sv.c
@@ -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;