This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
In FastCalc.xs, inline the macros CONSTANT_OBJ and RETURN_MORTAL_BOOL.
authorNicholas Clark <nick@ccl4.org>
Mon, 25 Oct 2010 08:53:44 +0000 (09:53 +0100)
committerNicholas Clark <nick@ccl4.org>
Mon, 25 Oct 2010 08:53:44 +0000 (09:53 +0100)
commit8e1dd0a2ad889c79bba741c52cdd829ba2dd9863
tree5145726a714a3ed869133c2e2da52d6a7d1afb28
parent2d032f98e20bdaececd8548459379c3cf87746ec
In FastCalc.xs, inline the macros  CONSTANT_OBJ and RETURN_MORTAL_BOOL.

With the previous commit, both are now only used in one place.
No need to use sv_2mortal() on the reset of boolSV(), as both PL_sv_no and
PL_sv_yes are immortals. [And special-cased within the implementation of
sv_2mortal() - not only is it a no-op, it's a non-free no-op :-)]
dist/Math-BigInt-FastCalc/FastCalc.xs