This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
rmv a sv_2mortal and unused var in toke.c:Perl_yyerror_pvn
authorDaniel Dragan <bulk88@hotmail.com>
Sat, 27 Oct 2012 05:44:13 +0000 (01:44 -0400)
committerFather Chrysostomos <sprout@cpan.org>
Sun, 28 Oct 2012 09:04:58 +0000 (02:04 -0700)
commitb604e36642f9076ae759752939c26b3d5f5fc223
tree2af288cf982f0f04cbfd352b0d594a2a1597f587
parent04fae10148c49c60f1578c0a2cb6ab08cd231927
rmv a sv_2mortal and unused var in toke.c:Perl_yyerror_pvn

newSVpvn_flags is capable of mortalizing already, use that, is_utf8 is used
only once, waste of an auto var stack slot to calculate it so early,
instead create the flags arg to newSVpvn_flags at the point of usage.
flags param of yyerror_pvn will always be on the C stack.
toke.c