summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Williamson <public@khwilliamson.com>2012-08-01 17:04:13 -0600
committerKarl Williamson <public@khwilliamson.com>2012-08-02 09:28:40 -0600
commit6ae172d09264ec7f9d8911353e13c74242736eb3 (patch)
tree12396d700f8d728ea2fc75b55e5ec0eb9f89adca
parentb9c48b5b74957012d9ed4b6e6cc2e067f5af2f97 (diff)
downloadperl-6ae172d09264ec7f9d8911353e13c74242736eb3.tar.gz
regcomp.c: inline trivial static function
-rw-r--r--embed.fnc2
-rw-r--r--proto.h2
-rw-r--r--regcomp.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/embed.fnc b/embed.fnc
index 8a6cdade80..b65e41c91a 100644
--- a/embed.fnc
+++ b/embed.fnc
@@ -1051,7 +1051,7 @@ Ap |SV* |regclass_swash |NULLOK const regexp *prog \
EMs |void |add_alternate |NN AV** alternate_ptr|NN U8* string|STRLEN len
EMsR |SV* |_new_invlist_C_array|NN UV* list
: Not used currently: EXMs |bool |_invlistEQ |NN SV* const a|NN SV* const b|bool complement_b
-EMsR |bool |_invlist_contains_cp|NN SV* const invlist|const UV cp
+EMiR |bool |_invlist_contains_cp|NN SV* const invlist|const UV cp
#endif
Ap |I32 |pregexec |NN REGEXP * const prog|NN char* stringarg \
|NN char* strend|NN char* strbeg|I32 minend \
diff --git a/proto.h b/proto.h
index ef4f8c1322..55dc9ae55d 100644
--- a/proto.h
+++ b/proto.h
@@ -6359,7 +6359,7 @@ PERL_STATIC_INLINE UV* S__invlist_array_init(pTHX_ SV* const invlist, const bool
#define PERL_ARGS_ASSERT__INVLIST_ARRAY_INIT \
assert(invlist)
-STATIC bool S__invlist_contains_cp(pTHX_ SV* const invlist, const UV cp)
+PERL_STATIC_INLINE bool S__invlist_contains_cp(pTHX_ SV* const invlist, const UV cp)
__attribute__warn_unused_result__
__attribute__nonnull__(pTHX_1);
#define PERL_ARGS_ASSERT__INVLIST_CONTAINS_CP \
diff --git a/regcomp.c b/regcomp.c
index 17e757934c..eef0869f3e 100644
--- a/regcomp.c
+++ b/regcomp.c
@@ -7946,7 +7946,7 @@ Perl__add_range_to_invlist(pTHX_ SV* invlist, const UV start, const UV end)
#endif
-STATIC bool
+PERL_STATIC_INLINE bool
S__invlist_contains_cp(pTHX_ SV* const invlist, const UV cp)
{
/* Does <invlist> contain code point <cp> as part of the set? */