summaryrefslogtreecommitdiff
path: root/embed.fnc
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2021-06-05 10:22:42 -0600
committerKarl Williamson <khw@cpan.org>2021-07-30 05:41:27 -0600
commitbf874180e9a7a8fbb74ab7eaa5c683ecc5a6ffc7 (patch)
treedcd3fbb669c5ffe256a551deac326fd1d66782df /embed.fnc
parent6e7a7813c390d2121876b9f8af4f37102e8d51fa (diff)
downloadperl-bf874180e9a7a8fbb74ab7eaa5c683ecc5a6ffc7.tar.gz
Create and use single_1bit_pos32()
This moves the code from regcomp.c to inline.h that calculates the position of the lone set bit in a U32. This is in preparation for use by other call sites.
Diffstat (limited to 'embed.fnc')
-rw-r--r--embed.fnc1
1 files changed, 1 insertions, 0 deletions
diff --git a/embed.fnc b/embed.fnc
index 55096fd9ea..77e0d2cc5d 100644
--- a/embed.fnc
+++ b/embed.fnc
@@ -1141,6 +1141,7 @@ ATdmoR |bool |is_utf8_invariant_string|NN const U8* const s \
ATidRp |bool |is_utf8_invariant_string_loc|NN const U8* const s \
|STRLEN len \
|NULLOK const U8 ** ep
+CTiRp |unsigned|single_1bit_pos32|U32 word
#ifndef EBCDIC
CTiRp |unsigned int|variant_byte_number|PERL_UINTMAX_T word
#endif