[Pcre-svn] [291] code/trunk/src/pcre2_jit_compile.c: Minor A…

Top Page
Delete this message
Author: Subversion repository
Date:  
To: pcre-svn
Subject: [Pcre-svn] [291] code/trunk/src/pcre2_jit_compile.c: Minor AllAny optimization in JIT.
Revision: 291
          http://www.exim.org/viewvc/pcre2?view=rev&revision=291
Author:   zherczeg
Date:     2015-06-19 11:16:33 +0100 (Fri, 19 Jun 2015)
Log Message:
-----------
Minor AllAny optimization in JIT.


Modified Paths:
--------------
    code/trunk/src/pcre2_jit_compile.c


Modified: code/trunk/src/pcre2_jit_compile.c
===================================================================
--- code/trunk/src/pcre2_jit_compile.c    2015-06-19 10:10:44 UTC (rev 290)
+++ code/trunk/src/pcre2_jit_compile.c    2015-06-19 10:16:33 UTC (rev 291)
@@ -5615,7 +5615,7 @@
   case OP_ALLANY:
   if (check_str_ptr)
     detect_partial_match(common, backtracks);
-#ifdef SUPPORT_UNICODE
+#if defined SUPPORT_UNICODE && PCRE2_CODE_UNIT_WIDTH != 32
   if (common->utf)
     {
     OP1(MOV_UCHAR, TMP1, 0, SLJIT_MEM1(STR_PTR), 0);