This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Make constant promotion null-clean
authorFather Chrysostomos <sprout@cpan.org>
Sun, 20 Nov 2011 07:39:57 +0000 (23:39 -0800)
committerFather Chrysostomos <sprout@cpan.org>
Sun, 20 Nov 2011 22:14:00 +0000 (14:14 -0800)
commite38acfd7c47f53eee8797f81f9039529d0bbfac1
tree571dd71f4e51b4210a49ad35b0e72d9508e352f0
parent8e1fa37c0a5504fad7b88bfd3aa0e59d003ff422
Make constant promotion null-clean

When an optimised constant is promoted to a CV, the name’s length can
be passed straight to newCONSTSUB_flags, as it now has a length param-
eter which it passes to newXS_len_flags.
gv.c
t/op/gv.t