diff options
author | Karl Williamson <khw@cpan.org> | 2020-11-17 19:15:06 -0700 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2020-11-18 05:11:16 -0700 |
commit | 3af695f3325716a03a79f2b1a27b032ed4698bfa (patch) | |
tree | 675921581d14dace2a5b8d46fd297a1822895183 /proto.h | |
parent | 2228b3d92dc6b04915a758fc6d3e4d724fb976c7 (diff) | |
download | perl-3af695f3325716a03a79f2b1a27b032ed4698bfa.tar.gz |
Move regcurly to regcomp.c (from inline.h)
This function is called only at compile time; experience has shown that
compile-time operations are not time-critical. And future commits will
lengthen it, making it not practically inlinable anyway.
Diffstat (limited to 'proto.h')
-rw-r--r-- | proto.h | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -6127,12 +6127,10 @@ PERL_CALLCONV SV* Perl_invlist_clone(pTHX_ SV* const invlist, SV* newlist); assert(invlist) #endif #if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_TOKE_C) -#ifndef PERL_NO_INLINE_FUNCTIONS -PERL_STATIC_INLINE bool S_regcurly(const char *s) +PERL_CALLCONV bool Perl_regcurly(const char *s) __attribute__warn_unused_result__; #define PERL_ARGS_ASSERT_REGCURLY \ assert(s) -#endif #endif #if defined(PERL_IN_REGEXEC_C) |