Fix word boundary in JIT compiler. Patch by Mike Munday.
This commit is contained in:
parent
7de013bac3
commit
d38c7f7e8d
|
@ -112,6 +112,8 @@ independently of PCRE2_EXTRA_BAD_ESCAPE_IS_LITERAL.
|
|||
sequences such as \eX when they appeared invalidly in a character class. Now
|
||||
the option applies only to unrecognized or malformed escape sequences.
|
||||
|
||||
28. Fix word boundary in JIT compiler. Patch by Mike Munday.
|
||||
|
||||
|
||||
Version 10.32 10-September-2018
|
||||
-------------------------------
|
||||
|
|
|
@ -6841,7 +6841,7 @@ else
|
|||
set_jumps(skipread_list, LABEL());
|
||||
|
||||
OP1(SLJIT_MOV, TMP1, 0, SLJIT_MEM1(SLJIT_SP), LOCALS0);
|
||||
OP2(SLJIT_XOR, TMP2, 0, TMP2, 0, TMP3, 0);
|
||||
OP2(SLJIT_XOR | SLJIT_SET_Z, TMP2, 0, TMP2, 0, TMP3, 0);
|
||||
sljit_emit_fast_return(compiler, TMP1, 0);
|
||||
|
||||
#ifdef SUPPORT_UNICODE
|
||||
|
@ -6856,7 +6856,6 @@ if (common->invalid_utf)
|
|||
return;
|
||||
}
|
||||
#endif /* SUPPORT_UNICODE */
|
||||
SLJIT_ASSERT(invalid_utf == NULL);
|
||||
}
|
||||
|
||||
static BOOL optimize_class_ranges(compiler_common *common, const sljit_u8 *bits, BOOL nclass, BOOL invert, jump_list **backtracks)
|
||||
|
|
Loading…
Reference in New Issue