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

Issue 8387027: Make the irregexp interpreter throw on stack overflow. (Closed)

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

Description

Make the irregexp interpreter throw on stack overflow. BUG=v8:904 Committed: http://code.google.com/p/v8/source/detail?r=9780

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+35 lines, -32 lines) Patch
M src/interpreter-irregexp.h View 2 chunks +6 lines, -6 lines 0 comments Download
M src/interpreter-irregexp.cc View 5 chunks +19 lines, -18 lines 0 comments Download
M src/jsregexp.cc View 1 chunk +10 lines, -8 lines 2 comments Download

Messages

Total messages: 4 (0 generated)
Lasse Reichstein
9 years, 2 months ago (2011-10-25 12:55:12 UTC) #1
Erik Corry
http://codereview.chromium.org/8387027/diff/1/src/jsregexp.cc File src/jsregexp.cc (right): http://codereview.chromium.org/8387027/diff/1/src/jsregexp.cc#newcode519 src/jsregexp.cc:519: isolate->StackOverflow(); Do we do this for compiled regexps?
9 years, 2 months ago (2011-10-25 12:58:41 UTC) #2
Lasse Reichstein
http://codereview.chromium.org/8387027/diff/1/src/jsregexp.cc File src/jsregexp.cc (right): http://codereview.chromium.org/8387027/diff/1/src/jsregexp.cc#newcode519 src/jsregexp.cc:519: isolate->StackOverflow(); Yes. It's handled a little further up the ...
9 years, 2 months ago (2011-10-25 13:27:09 UTC) #3
Erik Corry
9 years, 2 months ago (2011-10-25 13:29:25 UTC) #4
LGTM if the tests all pass in debug mode.  The regexp interpreter is not used on
any target at the moment so it won't be run by the build bots.

Powered by Google App Engine
This is Rietveld 408576698