This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Eliminate SVrepl_EVAL and SvEVALED()
authorDavid Mitchell <davem@iabyn.com>
Thu, 10 Nov 2016 21:38:30 +0000 (21:38 +0000)
committerDavid Mitchell <davem@iabyn.com>
Sat, 12 Nov 2016 16:15:09 +0000 (16:15 +0000)
commit6432a58ad9a504c2dc834eb0d131a10b4b6c886b
treeaacfe1256852ac05b4aefaa42dd9069685377cb8
parent9a70c74b0f460b0c96e443ecdfcb551157e02b51
Eliminate SVrepl_EVAL and SvEVALED()

This flag is only used to indicate that the SV holding the text of the
replacement part of a s/// has seen at least one /e.

Instead, set the IVX field in the SV to a true value.
(We already set the NVX field on that SV to indicate a multi-src-line
substitution).

This is to reduce the number of odd special cases for the SVpbm_VALID flag.
dump.c
ext/Devel-Peek/t/Peek.t
sv.h
toke.c