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

Issue 1522353002: [regexp] break recursion in mutually recursive capture/back references. (Closed)

Created:
5 years ago by Yang
Modified:
5 years ago
Reviewers:
erikcorry, Erik Corry, adamk
CC:
v8-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[regexp] break recursion in mutually recursive capture/back references. TBR=adamk@chromium.org R=erik.corry@gmail.com BUG=v8:4616 LOG=N Committed: https://crrev.com/44a8fec8a1d101e90f429dcd4828e930ee690b71 Cr-Commit-Position: refs/heads/master@{#32879}

Patch Set 1 #

Total comments: 2

Patch Set 2 : more tests #

Patch Set 3 : one more #

Total comments: 1

Patch Set 4 : lazify min/max match computation #

Total comments: 5

Patch Set 5 : comments #

Patch Set 6 : fine. you win! #

Patch Set 7 : new test expectations #

Unified diffs Side-by-side diffs Delta from patch set Stats (+27 lines, -12 lines) Patch
M src/ast/ast.h View 1 2 3 4 5 1 chunk +3 lines, -8 lines 0 comments Download
M src/parsing/parser.cc View 1 chunk +5 lines, -2 lines 0 comments Download
M test/cctest/test-regexp.cc View 1 2 3 4 5 6 3 chunks +6 lines, -2 lines 0 comments Download
M test/mjsunit/harmony/regexp-lookbehind.js View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download
M test/mjsunit/regexp.js View 1 2 1 chunk +7 lines, -0 lines 0 comments Download

Messages

Total messages: 25 (9 generated)
Yang
5 years ago (2015-12-15 07:55:26 UTC) #1
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1522353002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1522353002/1
5 years ago (2015-12-15 07:55:40 UTC) #3
erikcorry
https://codereview.chromium.org/1522353002/diff/1/src/ast/ast.cc File src/ast/ast.cc (right): https://codereview.chromium.org/1522353002/diff/1/src/ast/ast.cc#newcode929 src/ast/ast.cc:929: int RegExpBackReference::max_match() { Alternative simpler implementation is to return ...
5 years ago (2015-12-15 08:09:19 UTC) #5
Yang
On 2015/12/15 08:09:19, erikcorry wrote: > https://codereview.chromium.org/1522353002/diff/1/src/ast/ast.cc > File src/ast/ast.cc (right): > > https://codereview.chromium.org/1522353002/diff/1/src/ast/ast.cc#newcode929 > ...
5 years ago (2015-12-15 08:15:58 UTC) #6
erikcorry
I wonder if we can add lookbehind tests. We don't really use the max length ...
5 years ago (2015-12-15 08:37:48 UTC) #7
erikcorry
https://codereview.chromium.org/1522353002/diff/60001/src/ast/ast.cc File src/ast/ast.cc (right): https://codereview.chromium.org/1522353002/diff/60001/src/ast/ast.cc#newcode934 src/ast/ast.cc:934: // Such captures cannot be satisfied and have the ...
5 years ago (2015-12-15 09:45:43 UTC) #8
Yang
https://codereview.chromium.org/1522353002/diff/60001/src/ast/ast.cc File src/ast/ast.cc (right): https://codereview.chromium.org/1522353002/diff/60001/src/ast/ast.cc#newcode934 src/ast/ast.cc:934: // Such captures cannot be satisfied and have the ...
5 years ago (2015-12-15 09:52:18 UTC) #9
erikcorry
https://codereview.chromium.org/1522353002/diff/60001/src/ast/ast.cc File src/ast/ast.cc (right): https://codereview.chromium.org/1522353002/diff/60001/src/ast/ast.cc#newcode934 src/ast/ast.cc:934: // Such captures cannot be satisfied and have the ...
5 years ago (2015-12-15 10:18:18 UTC) #10
erikcorry
lgtm
5 years ago (2015-12-15 10:37:45 UTC) #11
Yang
On 2015/12/15 10:37:45, erikcorry wrote: > lgtm Adam, could I get a ell-gee-tee-em from you ...
5 years ago (2015-12-15 10:41:05 UTC) #12
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1522353002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1522353002/120001
5 years ago (2015-12-15 12:20:30 UTC) #14
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years ago (2015-12-15 12:42:19 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1522353002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1522353002/120001
5 years ago (2015-12-16 06:57:29 UTC) #20
commit-bot: I haz the power
Committed patchset #7 (id:120001)
5 years ago (2015-12-16 06:58:40 UTC) #22
commit-bot: I haz the power
Patchset 7 (id:??) landed as https://crrev.com/44a8fec8a1d101e90f429dcd4828e930ee690b71 Cr-Commit-Position: refs/heads/master@{#32879}
5 years ago (2015-12-16 06:59:02 UTC) #24
adamk
5 years ago (2015-12-16 08:47:38 UTC) #25
Message was sent while issue was closed.
lgtm

Powered by Google App Engine
This is Rietveld 408576698