summaryrefslogtreecommitdiff
path: root/pp_hot.c
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2012-11-19 21:31:11 -0800
committerFather Chrysostomos <sprout@cpan.org>2012-11-19 21:31:56 -0800
commit8f90a16d5e60546fc1f558b9a76c27be8096f9fb (patch)
treec16e947f833b8df39bab7f7c0d6d50cf5dec9531 /pp_hot.c
parent95f9781bc2fad025553db0160ef9c2c5363312a1 (diff)
downloadperl-8f90a16d5e60546fc1f558b9a76c27be8096f9fb.tar.gz
pp_hot.c:padsv: rewrt cmnt for clrty
Diffstat (limited to 'pp_hot.c')
-rw-r--r--pp_hot.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/pp_hot.c b/pp_hot.c
index db6945dd79..d5354345f7 100644
--- a/pp_hot.c
+++ b/pp_hot.c
@@ -394,7 +394,10 @@ PP(pp_padsv)
if (!(op->op_private & OPpPAD_STATE))
save_clearsv(padentry);
if (op->op_private & OPpDEREF) {
- /* TOPs arg is TARG, but TOPs (SP) rmvs a var across save_clearsv */
+ /* TOPs is equivalent to TARG here. Using TOPs (SP) rather
+ than TARG reduces the scope of TARG, so it does not
+ span the call to save_clearsv, resulting in smaller
+ machine code. */
TOPs = vivify_ref(TOPs, op->op_private & OPpDEREF);
}
}