diff options
author | Father Chrysostomos <sprout@cpan.org> | 2012-11-19 21:31:11 -0800 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2012-11-19 21:31:56 -0800 |
commit | 8f90a16d5e60546fc1f558b9a76c27be8096f9fb (patch) | |
tree | c16e947f833b8df39bab7f7c0d6d50cf5dec9531 /pp_hot.c | |
parent | 95f9781bc2fad025553db0160ef9c2c5363312a1 (diff) | |
download | perl-8f90a16d5e60546fc1f558b9a76c27be8096f9fb.tar.gz |
pp_hot.c:padsv: rewrt cmnt for clrty
Diffstat (limited to 'pp_hot.c')
-rw-r--r-- | pp_hot.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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); } } |