This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
make callers of SvTRUE() more efficient
authorDavid Mitchell <davem@iabyn.com>
Sat, 8 Jul 2017 14:47:23 +0000 (15:47 +0100)
committerDavid Mitchell <davem@iabyn.com>
Thu, 27 Jul 2017 10:30:22 +0000 (11:30 +0100)
commitf4c975aa030b7ad74a7efda242fb8b771ea41c14
tree44c906576016c351aed4443e10c27898833fbb68
parent775f2c0793edf33325b9ef09b476245658cfd66b
make callers of SvTRUE() more efficient

Where its obvious that the args can't be null, use SvTRUE_NN() instead.
Avoid possible multiple evaluations of the arg by assigning to a local var
first if necessary.
gv.c
hv.c
pp.c
pp_ctl.c
pp_hot.c
pp_sys.c
regexec.c
universal.c