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

Issue 197293003: Follow-up to r19845 which suppresses syntax errors in presence of a stack overflow. (Closed)

Created:
6 years, 9 months ago by marja
Modified:
6 years, 9 months ago
Reviewers:
Michael Starzinger
CC:
v8-dev
Visibility:
Public.

Description

Follow-up to r19845 which suppresses syntax errors in presence of a stack overflow. ReportUnexpectedToken already calls Traits::ReportMessageAt. If we're in Parser, that already suppresses the syntax error. If we're in PreParser, we don't need to suppress the syntax error (preparser errors don't go through Isolate, and having both stack overflow and a syntax error present is handled correctly by PreParserApi::PreParse). R=mstarzinger@chromium.org BUG= Committed: https://code.google.com/p/v8/source/detail?r=19851

Patch Set 1 #

Patch Set 2 : . #

Total comments: 2

Patch Set 3 : remove! #

Patch Set 4 : rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+0 lines, -6 lines) Patch
M src/preparser.h View 1 2 3 1 chunk +0 lines, -6 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
marja
mstarzinger, ptal at this tiny follow-up fix.
6 years, 9 months ago (2014-03-12 13:37:35 UTC) #1
Michael Starzinger
LGTM with one comment. https://codereview.chromium.org/197293003/diff/20001/src/preparser.h File src/preparser.h (right): https://codereview.chromium.org/197293003/diff/20001/src/preparser.h#newcode1019 src/preparser.h:1019: if (stack_overflow()) { All cases ...
6 years, 9 months ago (2014-03-12 13:45:07 UTC) #2
marja
https://codereview.chromium.org/197293003/diff/20001/src/preparser.h File src/preparser.h (right): https://codereview.chromium.org/197293003/diff/20001/src/preparser.h#newcode1019 src/preparser.h:1019: if (stack_overflow()) { On 2014/03/12 13:45:08, Michael Starzinger wrote: ...
6 years, 9 months ago (2014-03-12 13:50:39 UTC) #3
marja
6 years, 9 months ago (2014-03-12 14:15:19 UTC) #4
Message was sent while issue was closed.
Committed patchset #4 manually as r19851 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698