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

Issue 633373003: Simplify AST ID generation. (Closed)

Created:
6 years, 2 months ago by Sven Panne
Modified:
6 years, 2 months ago
CC:
v8-dev
Project:
v8
Visibility:
Public.

Description

Simplify AST ID generation. Every CompilationInfo has an ID generator now, and it is never reset/copied/assigned. Simplified FunctionState. R=mstarzinger@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=24481

Patch Set 1 #

Patch Set 2 : DISALLOW_COPY_AND_ASSIGN #

Total comments: 1

Patch Set 3 : rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+39 lines, -61 lines) Patch
M src/ast.h View 1 2 2 chunks +3 lines, -1 line 0 comments Download
M src/parser.h View 1 2 1 chunk +0 lines, -15 lines 0 comments Download
M src/parser.cc View 1 2 3 chunks +12 lines, -8 lines 0 comments Download
M src/preparser.h View 1 2 11 chunks +16 lines, -31 lines 0 comments Download
M src/preparser.cc View 2 chunks +8 lines, -6 lines 0 comments Download

Messages

Total messages: 7 (2 generated)
Sven Panne
6 years, 2 months ago (2014-10-08 13:08:48 UTC) #2
wingo
https://codereview.chromium.org/633373003/diff/20001/src/ast.h File src/ast.h (right): https://codereview.chromium.org/633373003/diff/20001/src/ast.h#newcode187 src/ast.h:187: IdGen() : id_(BailoutId::FirstUsable().ToInt()) {} What is the plan with ...
6 years, 2 months ago (2014-10-08 13:34:46 UTC) #4
Dmitry Lomov (no reviews)
On 2014/10/08 13:34:46, wingo wrote: > https://codereview.chromium.org/633373003/diff/20001/src/ast.h > File src/ast.h (right): > > https://codereview.chromium.org/633373003/diff/20001/src/ast.h#newcode187 > ...
6 years, 2 months ago (2014-10-08 18:12:49 UTC) #5
Michael Starzinger
LGTM.
6 years, 2 months ago (2014-10-09 08:13:09 UTC) #6
Sven Panne
6 years, 2 months ago (2014-10-09 08:16:24 UTC) #7
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as 24481 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698