Ignore:
Timestamp:
Jan 19, 2011, 9:58:15 AM (15 years ago)
Author:
[email protected]
Message:

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

Reviewed by Darin Adler.

<rdar://problem/8882994> Regression: Simple nested backtrack hangs
https://bugs.webkit.org/show_bug.cgi?id=52675

The changeset (r76076) for https://bugs.webkit.org/show_bug.cgi?id=52540
broke simple backtracking in some cases. Reworked that change to
link both jumps and labels.

  • yarr/YarrJIT.cpp: (JSC::Yarr::YarrGenerator::BacktrackDestination::hasBacktrackToLabel): (JSC::Yarr::YarrGenerator::TermGenerationState::propagateBacktrackingFrom): (JSC::Yarr::YarrGenerator::generateParenthesesSingle):

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

Reviewed by Darin Adler.

<rdar://problem/8882994> Regression: Simple nested backtrack hangs
https://bugs.webkit.org/show_bug.cgi?id=52675

New tests to support change.

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

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r76129 r76133  
     12011-01-19  Michael Saboff  <[email protected]>
     2
     3        Reviewed by Darin Adler.
     4
     5        <rdar://problem/8882994> Regression: Simple nested backtrack hangs
     6        https://bugs.webkit.org/show_bug.cgi?id=52675
     7
     8        The changeset (r76076) for https://bugs.webkit.org/show_bug.cgi?id=52540
     9        broke simple backtracking in some cases.  Reworked that change to
     10        link both jumps and labels.
     11
     12        * yarr/YarrJIT.cpp:
     13        (JSC::Yarr::YarrGenerator::BacktrackDestination::hasBacktrackToLabel):
     14        (JSC::Yarr::YarrGenerator::TermGenerationState::propagateBacktrackingFrom):
     15        (JSC::Yarr::YarrGenerator::generateParenthesesSingle):
     16
    1172011-01-19  Pavel Podivilov  <[email protected]>
    218
Note: See TracChangeset for help on using the changeset viewer.