Ignore:
Timestamp:
Oct 6, 2017, 4:21:48 PM (8 years ago)
Author:
[email protected]
Message:

Enable RegExp JIT for match only Unicode RegExp's
https://bugs.webkit.org/show_bug.cgi?id=178033

Reviewed by JF Bastien.

I forgot to turn on JIT'ing for match-only Unicode RegExp's in r221052. Do it now.

  • runtime/RegExp.cpp:

(JSC::RegExp::compileMatchOnly):

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/runtime/RegExp.cpp

    r221769 r223010  
    346346
    347347#if ENABLE(YARR_JIT)
    348     if (!pattern.m_containsBackreferences && !pattern.containsUnsignedLengthPattern() && !unicode() && vm->canUseRegExpJIT()) {
     348    if (!pattern.m_containsBackreferences && !pattern.containsUnsignedLengthPattern() && vm->canUseRegExpJIT()) {
    349349        Yarr::jitCompile(pattern, charSize, vm, m_regExpJITCode, Yarr::MatchOnly);
    350350        if (!m_regExpJITCode.isFallBack()) {
Note: See TracChangeset for help on using the changeset viewer.