Ignore:
Timestamp:
Sep 4, 2012, 10:12:26 PM (13 years ago)
Author:
[email protected]
Message:

Allow the YarrJIT to use the assembler even when useJIT() is false.
Introduce the useYarrJIT() option.
https://bugs.webkit.org/show_bug.cgi?id=95809.

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

  • runtime/JSGlobalData.cpp:

(JSC::enableAssembler):

  • runtime/Options.cpp:

(JSC::Options::initialize):

  • runtime/Options.h:

(JSC):

File:
1 edited

Legend:

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

    r127505 r127554  
    101101static bool enableAssembler(ExecutableAllocator& executableAllocator)
    102102{
    103     if (!executableAllocator.isValid() || !Options::useJIT())
     103    if (!executableAllocator.isValid() || (!Options::useJIT() && !Options::useYarrJIT()))
    104104        return false;
    105105
Note: See TracChangeset for help on using the changeset viewer.