mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 712990: add missing big-endian code to Yarr JIT, r=dmandelin
This commit is contained in:
parent
aae44a93b0
commit
d87c8b605b
@ -696,10 +696,17 @@ class YarrGenerator : private MacroAssembler {
|
||||
#endif
|
||||
|
||||
if (m_pattern.m_ignoreCase) {
|
||||
#if WTF_CPU_BIG_ENDIAN
|
||||
if (isASCIIAlpha(ch))
|
||||
mask |= 32 << 16;
|
||||
if (isASCIIAlpha(ch2))
|
||||
mask |= 32;
|
||||
#else
|
||||
if (isASCIIAlpha(ch))
|
||||
mask |= 32;
|
||||
if (isASCIIAlpha(ch2))
|
||||
mask |= 32 << 16;
|
||||
#endif
|
||||
}
|
||||
|
||||
BaseIndex address(input, index, TimesTwo, (term->inputPosition - m_checked) * sizeof(UChar));
|
||||
|
Loading…
Reference in New Issue
Block a user