diff options
author | Nicholas Clark <nick@ccl4.org> | 2011-05-23 18:14:45 +0100 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2011-06-11 09:03:10 +0200 |
commit | a672f009fb8f223715e97dfcac7fb84e4bb2904b (patch) | |
tree | 0e82aea581c240cd9596c5f497837ec37f5f64cd /dump.c | |
parent | 258a58987ee2cc2be52e4eec4f8e68af1693368b (diff) | |
download | perl-a672f009fb8f223715e97dfcac7fb84e4bb2904b.tar.gz |
In Perl_sv_2[inu]v_flags(), use the non-caching code whenever SvVALID() is true
Previous the non-caching code was only used when SvVALID() was true on a PVGV.
However, PVLVs can also perform all the roles of a PVGV, so could conceivably
be acting as FBMs. As it's safe to test SvVALID() on any scalar SV, do so, as
the compiler can combine the flag test for SvVALID() with that for
SvGMAGICAL(), producing tighter object code.
Diffstat (limited to 'dump.c')
0 files changed, 0 insertions, 0 deletions