This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Make filetest ops fiddle the stack less
authorFather Chrysostomos <sprout@cpan.org>
Thu, 29 Mar 2012 21:49:58 +0000 (14:49 -0700)
committerFather Chrysostomos <sprout@cpan.org>
Mon, 21 May 2012 17:48:43 +0000 (10:48 -0700)
commitd2c4d2d1e22d31255e4879b333999b8d409086a2
tree31864e4bd00c9af3824573275ac5b2c2b9c8153c
parent88187f3299a69eab9bcd24124c19b84f30796fff
Make filetest ops fiddle the stack less

See commits 8db8f6b697e and d6642e439 for the background.

Instead of sometimes popping items off the stack for filetest operat-
ors and sometimes not, just leave the item on the stack and use SETs
to return the value (which the overload code was doing already any-
way).  This simplifies the code and allows d6642e439 to be reverted.
It also makes things theoretically faster, simply because there is
less stuff happening.
doio.c
pp_sys.c