diff options
Diffstat (limited to 'pcre_jit_compile.c')
-rw-r--r-- | pcre_jit_compile.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pcre_jit_compile.c b/pcre_jit_compile.c index c9db7ee..825e59f 100644 --- a/pcre_jit_compile.c +++ b/pcre_jit_compile.c @@ -3865,7 +3865,7 @@ while (TRUE) } } -#if (defined SLJIT_CONFIG_X86 && SLJIT_CONFIG_X86) +#if (defined SLJIT_CONFIG_X86 && SLJIT_CONFIG_X86) && !(defined SUPPORT_VALGRIND) static sljit_s32 character_to_int32(pcre_uchar chr) { @@ -4175,6 +4175,7 @@ if (has_match_end) OP2(SLJIT_SUB | SLJIT_SET_GREATER, SLJIT_UNUSED, 0, STR_END, 0, TMP3, 0); sljit_x86_emit_cmov(compiler, SLJIT_GREATER, STR_END, TMP3, 0); } + else #endif { quit = CMP(SLJIT_LESS_EQUAL, STR_END, 0, TMP3, 0); @@ -4188,7 +4189,7 @@ if (common->utf && offset > 0) utf_start = LABEL(); #endif -#if (defined SLJIT_CONFIG_X86 && SLJIT_CONFIG_X86) +#if (defined SLJIT_CONFIG_X86 && SLJIT_CONFIG_X86) && !(defined SUPPORT_VALGRIND) /* SSE2 accelerated first character search. */ |