Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(684)

Issue 12634: * Postponed irregexp parser forward scan of capturing parentheses until necessary. (Closed)

Created:
12 years ago by Lasse Reichstein
Modified:
9 years, 6 months ago
Reviewers:
Erik Corry
CC:
v8-dev
Visibility:
Public.

Description

Scanning for captures only happen when a decimal escape gives a number that is too big to be a useful back reference. It won't happen at all in meaningfull ECMAScript compliant regexps.

Patch Set 1 #

Patch Set 2 : Addressed review comments #

Patch Set 3 : Rebase to head of bleeding edge #

Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -15 lines) Patch
M src/parser.cc View 1 6 chunks +19 lines, -15 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
Lasse Reichstein
Review, please.
12 years ago (2008-11-25 12:53:49 UTC) #1
Erik Corry
12 years ago (2008-11-25 13:21:03 UTC) #2
LGTM.  I think the declaration of capture_count should get a comment explaining
that it is only valid when is_scanned_for_captures_ is true.

Powered by Google App Engine
This is Rietveld 408576698