Skip to content

Commit 1698d0c

Browse files
committed
variant_under_utf8_count: mv ARGS_ASSERT
Better to have this first in the function
1 parent 8f1dfd6 commit 1698d0c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

inline.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2062,11 +2062,11 @@ C<L<perlapi/is_utf8_invariant_string_loc>>,
20622062
PERL_STATIC_INLINE Size_t
20632063
S_variant_under_utf8_count(const U8* const s, const U8* const e)
20642064
{
2065+
PERL_ARGS_ASSERT_VARIANT_UNDER_UTF8_COUNT;
2066+
20652067
const U8* x = s;
20662068
Size_t count = 0;
20672069

2068-
PERL_ARGS_ASSERT_VARIANT_UNDER_UTF8_COUNT;
2069-
20702070
# ifndef EBCDIC
20712071

20722072
/* Test if the string is long enough to use word-at-a-time. (Logic is the

0 commit comments

Comments
 (0)