File tree Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -2672,11 +2672,6 @@ PERL_STATIC_INLINE U8 *
2672
2672
Perl_utf8_hop_forward (const U8 * s , SSize_t off , const U8 * end )
2673
2673
{
2674
2674
PERL_ARGS_ASSERT_UTF8_HOP_FORWARD ;
2675
-
2676
- /* Note: cannot use UTF8_IS_...() too eagerly here since e.g
2677
- * the bitops (especially ~) can create illegal UTF-8.
2678
- * In other words: in Perl UTF-8 is not just for Unicode. */
2679
-
2680
2675
assert (off >= 0 );
2681
2676
2682
2677
if (UNLIKELY (s >= end )) {
@@ -2736,11 +2731,6 @@ PERL_STATIC_INLINE U8 *
2736
2731
Perl_utf8_hop_back (const U8 * s , SSize_t off , const U8 * start )
2737
2732
{
2738
2733
PERL_ARGS_ASSERT_UTF8_HOP_BACK ;
2739
-
2740
- /* Note: cannot use UTF8_IS_...() too eagerly here since e.g
2741
- * the bitops (especially ~) can create illegal UTF-8.
2742
- * In other words: in Perl UTF-8 is not just for Unicode. */
2743
-
2744
2734
assert (start <= s );
2745
2735
assert (off <= 0 );
2746
2736
You can’t perform that action at this time.
0 commit comments