Ignore:
Timestamp:
Sep 6, 2012, 3:13:14 AM (13 years ago)
Author:
[email protected]
Message:

Renamed useYarrJIT() option to useRegExpJIT(). Also fixed regression in
which inadvertantly allows the ASM llint to use the baseline JIT when
useRegExpJIT() is true.
https://bugs.webkit.org/show_bug.cgi?id=95918.

Patch by Mark Lam <[email protected]> on 2012-09-06
Reviewed by Geoffrey Garen.

  • runtime/JSGlobalData.cpp:

(JSC::enableAssembler):
(JSC::JSGlobalData::JSGlobalData):

  • runtime/JSGlobalData.h:

(JSC::JSGlobalData::canUseJIT):
(JSC::JSGlobalData::canUseRegExpJIT):
(JSGlobalData):

  • runtime/Options.cpp:

(JSC::Options::initialize):

  • runtime/Options.h:

(JSC):

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/runtime/JSGlobalData.h

    r127348 r127719  
    285285        bool canUseJIT() { return true; } // jit only
    286286#else
    287         bool canUseJIT() { return m_canUseAssembler; }
     287        bool canUseJIT() { return m_canUseJIT; }
    288288#endif
    289289
     
    293293        bool canUseRegExpJIT() { return true; } // jit only
    294294#else
    295         bool canUseRegExpJIT() { return m_canUseAssembler; }
     295        bool canUseRegExpJIT() { return m_canUseRegExpJIT; }
    296296#endif
    297297
     
    442442#if ENABLE(ASSEMBLER) && (ENABLE(CLASSIC_INTERPRETER) || ENABLE(LLINT))
    443443        bool m_canUseAssembler;
     444        bool m_canUseJIT;
     445        bool m_canUseRegExpJIT;
    444446#endif
    445447#if ENABLE(GC_VALIDATION)
Note: See TracChangeset for help on using the changeset viewer.