Minor AllAny optimization in JIT.

This commit is contained in:
Zoltán Herczeg 2015-06-19 10:16:33 +00:00
parent f692e5c45b
commit 78ea22d11d
1 changed files with 1 additions and 1 deletions

View File

@ -5615,7 +5615,7 @@ switch(type)
case OP_ALLANY: case OP_ALLANY:
if (check_str_ptr) if (check_str_ptr)
detect_partial_match(common, backtracks); detect_partial_match(common, backtracks);
#ifdef SUPPORT_UNICODE #if defined SUPPORT_UNICODE && PCRE2_CODE_UNIT_WIDTH != 32
if (common->utf) if (common->utf)
{ {
OP1(MOV_UCHAR, TMP1, 0, SLJIT_MEM1(STR_PTR), 0); OP1(MOV_UCHAR, TMP1, 0, SLJIT_MEM1(STR_PTR), 0);