Stop op freeing from interfering with sub(){42} mutability
authorFather Chrysostomos <sprout@cpan.org>
Wed, 24 Jul 2013 15:39:01 +0000 (08:39 -0700)
committerFather Chrysostomos <sprout@cpan.org>
Fri, 26 Jul 2013 06:48:03 +0000 (23:48 -0700)
commit0ad6fa3530955d1b19193ff491530a86d99191a1
tree9798985f21cf74cc19446af5d6705202246b406e
parent3150c6161e300b1e325939ff22b76f91a8307cf5
Stop op freeing from interfering with sub(){42} mutability

The problem is that when an OP_CONST is freed, it calls pad_swipe,
which clears the PADTMP flag when removing the SV from the pad.  Since
PADTMP no longer necessarily means ‘in a pad’, we shouldn’t turn
this flag off.
pad.c
t/op/sub.t