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

Issue 437393004: Rewind additional parser state when reinterpreting arrow arguments (Closed)

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

Description

Rewind additional parser state when reinterpreting arrow arguments The new ParserCheckpoint mechanism resets some state, notably the bailout ID counter but also some statement counters (only applicable once we get "do" expressions) when we decide to reinterpret a comma expression as arrow function arguments. R=marja@chromium.org, rossberg@chromium.org BUG=v8:3475 LOG=N Committed: https://code.google.com/p/v8/source/detail?r=22906

Patch Set 1 #

Total comments: 1

Patch Set 2 : ParserCheckpoint constructor takes argument #

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

Messages

Total messages: 6 (0 generated)
wingo
Perhaps there is a way to do this in a less nasty fashion, dunno. Hold ...
6 years, 4 months ago (2014-08-05 13:10:09 UTC) #1
rossberg
Yeah, the problem I see here is that this probably won't work anymore once we ...
6 years, 4 months ago (2014-08-05 13:51:31 UTC) #2
wingo
Updated patchset to give ParserCheckpoint an argument. The patch is rebased, so the interdiffs aren't ...
6 years, 4 months ago (2014-08-05 14:18:26 UTC) #3
rossberg
lgtm
6 years, 4 months ago (2014-08-05 14:52:46 UTC) #4
marja
omg, lgtm. thx for fixing!
6 years, 4 months ago (2014-08-05 16:46:01 UTC) #5
wingo
6 years, 4 months ago (2014-08-06 09:07:05 UTC) #6
Message was sent while issue was closed.
Committed patchset #2 manually as 22906 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698