This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Convert the implementation of XS_VERSION_BOOTCHECK to a function from a macro.
authorNicholas Clark <nick@ccl4.org>
Thu, 7 Oct 2010 15:30:32 +0000 (16:30 +0100)
committerNicholas Clark <nick@ccl4.org>
Thu, 7 Oct 2010 15:30:32 +0000 (16:30 +0100)
commite9b067d91703bf151aa6769b5c49fb95a91f6fa5
treeaf044dc7ae0745b91d42609bb05337360bc0f757
parent7b20c7cd49d506897c54f5ed022a5e5b5f8c594a
Convert the implementation of XS_VERSION_BOOTCHECK to a function from a macro.

The macro expansion generates over 1K of object code. This is in every shared
object, and is only called once. Hence this change increases the perl binary
by about 1K (once), to save 1K for every XS module loaded.
XSUB.h
embed.fnc
global.sym
proto.h
util.c