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

Issue 799403003: Limit code size generated for very large regexps (Closed)

Created:
6 years ago by Erik Corry
Modified:
6 years ago
Reviewers:
Yang, Jakob Kummerow
CC:
v8-dev
Project:
v8
Visibility:
Public.

Description

Limit code size generated for very large regexps R=jkummerow@chromium.org, yangguo@chromium.org BUG= Committed: https://crrev.com/d287f225a3630e71a6d14009e7baf71f465be861 Cr-Commit-Position: refs/heads/master@{#25839}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Add assert to check constant in test matches implementation #

Unified diffs Side-by-side diffs Delta from patch set Stats (+87 lines, -22 lines) Patch
M src/jsregexp.h View 2 chunks +4 lines, -1 line 0 comments Download
M src/jsregexp.cc View 10 chunks +25 lines, -21 lines 0 comments Download
M test/cctest/test-heap.cc View 1 1 chunk +58 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (2 generated)
Erik Corry
6 years ago (2014-12-15 16:52:31 UTC) #1
Jakob Kummerow
Thanks for the fix! LGTM with minor comments. https://codereview.chromium.org/799403003/diff/1/src/jsregexp.cc File src/jsregexp.cc (right): https://codereview.chromium.org/799403003/diff/1/src/jsregexp.cc#newcode6165 src/jsregexp.cc:6165: bool ...
6 years ago (2014-12-15 20:00:29 UTC) #3
Erik Corry
https://codereview.chromium.org/799403003/diff/1/src/jsregexp.cc File src/jsregexp.cc (right): https://codereview.chromium.org/799403003/diff/1/src/jsregexp.cc#newcode6165 src/jsregexp.cc:6165: bool too_much = pattern->length() > RegExpImpl::kRegExpTooLargeToOptimize; On 2014/12/15 20:00:29, ...
6 years ago (2014-12-16 12:05:33 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/799403003/20001
6 years ago (2014-12-16 12:06:06 UTC) #6
commit-bot: I haz the power
Committed patchset #2 (id:20001)
6 years ago (2014-12-16 12:33:27 UTC) #7
commit-bot: I haz the power
6 years ago (2014-12-17 10:14:07 UTC) #8
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/d287f225a3630e71a6d14009e7baf71f465be861
Cr-Commit-Position: refs/heads/master@{#25839}

Powered by Google App Engine
This is Rietveld 408576698