Ignore:
Timestamp:
Jan 18, 2011, 3:31:30 PM (15 years ago)
Author:
[email protected]
Message:

2011-01-18 Michael Saboff <[email protected]>

Reviewed by Oliver Hunt.

<rdar://problem/8875432> Regression: Some text-only e-mails cause hang beneath RegExp::match (52540)
https://bugs.webkit.org/show_bug.cgi?id=52540
https://bugs.webkit.org/show_bug.cgi?id=52662

Directly use backtrack label with parentheses nested under a
non-capturing parentheses. Also linked current parentheses
tail code object for possible parens nested within a non-capturing
parentheses.

  • yarr/YarrJIT.cpp: (JSC::Yarr::YarrGenerator::BacktrackDestination::linkBacktrackToLabel): (JSC::Yarr::YarrGenerator::generateParenthesesSingle):

2011-01-18 Michael Saboff <[email protected]>

Reviewed by Oliver Hunt.

<rdar://problem/8875432> Regression: Some text-only e-mails cause hang beneath RegExp::match (52540)
https://bugs.webkit.org/show_bug.cgi?id=52540
https://bugs.webkit.org/show_bug.cgi?id=52662

New tests to check for proper linking of parentheses nested under
a non-capturing parentheses.

  • fast/regex/parentheses-expected.txt:
  • fast/regex/script-tests/parentheses.js:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r76068 r76076  
     12011-01-18  Michael Saboff  <[email protected]>
     2
     3        Reviewed by Oliver Hunt.
     4
     5        <rdar://problem/8875432> Regression: Some text-only e-mails cause hang beneath RegExp::match (52540)
     6        https://bugs.webkit.org/show_bug.cgi?id=52540
     7        https://bugs.webkit.org/show_bug.cgi?id=52662
     8
     9        Directly use backtrack label with parentheses nested under a
     10        non-capturing parentheses.  Also linked current parentheses
     11        tail code object for possible parens nested within a non-capturing
     12        parentheses.
     13
     14        * yarr/YarrJIT.cpp:
     15        (JSC::Yarr::YarrGenerator::BacktrackDestination::linkBacktrackToLabel):
     16        (JSC::Yarr::YarrGenerator::generateParenthesesSingle):
     17
    1182011-01-18  Daniel Bates  <[email protected]>
    219
Note: See TracChangeset for help on using the changeset viewer.