This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
regcomp.c, toke.c: swap functions being inline static
authorKarl Williamson <khw@cpan.org>
Sat, 13 Feb 2016 18:53:50 +0000 (11:53 -0700)
committerKarl Williamson <khw@cpan.org>
Fri, 19 Feb 2016 03:44:02 +0000 (20:44 -0700)
commitce54a8b9b1353b2e7e84528e499a996fb0697a95
tree0c54b1b6c52121cfbaedad123f8b3060c1170a84
parent3a3d108484629fe5b421976b8d6fd6f280a1f97a
regcomp.c, toke.c: swap functions being inline static

grok_bslash_x() is so large that no compiler will inline it.  Move it to
dquote.c from dq_inline.c.  Conversely, move form_octal_warning() to
dq_inline.c.  It is so tiny that the function call overhead is scarcely
smaller than the function body.

This also moves things in embed.fnc so all these functions.  are not
visible outside the few files they are supposed to be used in.
dquote.c
dquote_inline.h
embed.fnc
embed.h
proto.h