This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Change 3 functions to be #defines of others
authorKarl Williamson <khw@cpan.org>
Sat, 18 Nov 2017 20:52:44 +0000 (13:52 -0700)
committerKarl Williamson <khw@cpan.org>
Sun, 26 Nov 2017 17:17:29 +0000 (10:17 -0700)
commitdd237e826e98a1f24e4b18cc6176152da1f1fd58
tree3a4e9c2ff0c7239f3b4607e9da39dbddff426d04
parentf60f61fd47355f97bcac52e6e93e5cba818d1796
Change 3 functions to be #defines of others

I made these separate functions because I thought it would make faster
code, but I realized that modern compilers should be able to optimize
the more general functions into the same code as the ones removed by
this commit, given that the parameters are known to be 0 at compile
time.

It's easier to maintain one version of a function than two, so this
commit favors that.
embed.fnc
embed.h
inline.h
proto.h