This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Stop fbm_compile from flattening refs
authorFather Chrysostomos <sprout@cpan.org>
Fri, 21 Jun 2013 19:54:53 +0000 (12:54 -0700)
committerFather Chrysostomos <sprout@cpan.org>
Sun, 23 Jun 2013 06:16:40 +0000 (23:16 -0700)
commit948d23704c370224e484b4083be90fba01a7439e
treeaa7b53b5797a56aa0d19b5ed47b714b547510d36
parent8aafe2e9ee6ccf5b4007edba9c668786a4853e14
Stop fbm_compile from flattening refs

References can change their stringification any time, so flattening
them ahead of time for efficiency gives incorect results.

Also, using a reference constant as the second argument to index
would result in the constant itself being flattened, even when used
elsewhere.
t/op/index.t
util.c