Changeset 72197 in webkit for trunk/JavaScriptCore/ChangeLog


Ignore:
Timestamp:
Nov 17, 2010, 5:15:56 AM (15 years ago)
Author:
Csaba Osztrogonác
Message:

YARR JIT should fallback to YARR Interpreter instead of PCRE.
https://bugs.webkit.org/show_bug.cgi?id=46719

Patch by Peter Varga <[email protected]> on 2010-11-17
Reviewed by Gavin Barraclough.

Remove the ENABLE_YARR macro and the option of matching regular
expressions with PCRE from JavaScriptCore.

JavaScriptCore:

  • runtime/JSGlobalData.h:
  • runtime/RegExp.cpp:

(JSC::RegExp::compile):
(JSC::RegExp::match):

  • tests/mozilla/expected.html:
  • wtf/Platform.h:
  • yarr/RegexCompiler.cpp:
  • yarr/RegexCompiler.h:
  • yarr/RegexInterpreter.cpp:

(JSC::Yarr::byteCompileRegex):

  • yarr/RegexInterpreter.h:
  • yarr/RegexJIT.cpp:

(JSC::Yarr::jitCompileRegex):

  • yarr/RegexJIT.h:

(JSC::Yarr::RegexCodeBlock::RegexCodeBlock):
(JSC::Yarr::RegexCodeBlock::~RegexCodeBlock):
(JSC::Yarr::RegexCodeBlock::getFallback):
(JSC::Yarr::RegexCodeBlock::isFallback):
(JSC::Yarr::RegexCodeBlock::setFallback):
(JSC::Yarr::executeRegex):

  • yarr/RegexParser.h:
  • yarr/RegexPattern.h:

LayoutTests:

  • fast/js/regexp-look-ahead-empty-expected.txt:
  • fast/js/regexp-overflow-expected.txt:
  • fast/js/script-tests/regexp-overflow.js:
  • fast/js/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.5_Term/S15.10.2.5_A1_T4-expected.txt:
  • fast/js/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.2/15.10.2.8_Atom/S15.10.2.8_A2_T1-expected.txt:
  • fast/js/sputnik/Conformance/15_Native_Objects/15.10_RegExp/15.10.6/15.10.6.2_RegExp.prototype.exec/S15.10.6.2_A1_T6-expected.txt:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/ChangeLog

    r72186 r72197  
     12010-11-17  Peter Varga  <[email protected]>
     2
     3        Reviewed by Gavin Barraclough.
     4
     5        YARR JIT should fallback to YARR Interpreter instead of PCRE.
     6        https://bugs.webkit.org/show_bug.cgi?id=46719
     7
     8        Remove the ENABLE_YARR macro and the option of matching regular
     9        expressions with PCRE from JavaScriptCore.
     10
     11        * runtime/JSGlobalData.h:
     12        * runtime/RegExp.cpp:
     13        (JSC::RegExp::compile):
     14        (JSC::RegExp::match):
     15        * tests/mozilla/expected.html:
     16        * wtf/Platform.h:
     17        * yarr/RegexCompiler.cpp:
     18        * yarr/RegexCompiler.h:
     19        * yarr/RegexInterpreter.cpp:
     20        (JSC::Yarr::byteCompileRegex):
     21        * yarr/RegexInterpreter.h:
     22        * yarr/RegexJIT.cpp:
     23        (JSC::Yarr::jitCompileRegex):
     24        * yarr/RegexJIT.h:
     25        (JSC::Yarr::RegexCodeBlock::RegexCodeBlock):
     26        (JSC::Yarr::RegexCodeBlock::~RegexCodeBlock):
     27        (JSC::Yarr::RegexCodeBlock::getFallback):
     28        (JSC::Yarr::RegexCodeBlock::isFallback):
     29        (JSC::Yarr::RegexCodeBlock::setFallback):
     30        (JSC::Yarr::executeRegex):
     31        * yarr/RegexParser.h:
     32        * yarr/RegexPattern.h:
     33
    1342010-11-17  Peter Varga  <[email protected]>
    235
Note: See TracChangeset for help on using the changeset viewer.