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

Issue 9401008: Parsing of basic module declarations (no imports/exports yet). (Closed)

Created:
8 years, 10 months ago by rossberg
Modified:
8 years, 10 months ago
CC:
v8-dev
Visibility:
Public.

Description

Parsing of basic module declarations (no imports/exports yet). Module definitions are not compiled or otherwise executed yet. Toplevel module identifiers are bound but never initialized. R=kmillikin@chromium.org,mstarzinger@google.com BUG= TEST= Committed: https://code.google.com/p/v8/source/detail?r=10759

Patch Set 1 #

Total comments: 4

Patch Set 2 : Addressed Lasse's comments. #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+354 lines, -55 lines) Patch
M src/ast.h View 2 chunks +9 lines, -9 lines 0 comments Download
M src/contexts.h View 1 chunk +4 lines, -0 lines 0 comments Download
M src/flag-definitions.h View 2 chunks +3 lines, -1 line 0 comments Download
M src/heap.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/heap.cc View 1 chunk +6 lines, -0 lines 0 comments Download
M src/parser.h View 2 chunks +12 lines, -2 lines 0 comments Download
M src/parser.cc View 1 11 chunks +201 lines, -40 lines 1 comment Download
M src/prettyprinter.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M src/runtime.cc View 5 chunks +33 lines, -1 line 0 comments Download
M src/scopes.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/scopes.cc View 1 chunk +1 line, -0 lines 0 comments Download
M src/v8globals.h View 1 chunk +1 line, -0 lines 0 comments Download
A test/mjsunit/harmony/module-parsing.js View 1 chunk +80 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
rossberg
8 years, 10 months ago (2012-02-15 13:39:31 UTC) #1
Lasse Reichstein Nielsen
LGTM http://codereview.chromium.org/9401008/diff/1/src/parser.cc File src/parser.cc (right): http://codereview.chromium.org/9401008/diff/1/src/parser.cc#newcode1285 src/parser.cc:1285: Consume(Token::PERIOD); Can be shortened to while (Check(Token::PERIOD)) { ...
8 years, 10 months ago (2012-02-20 09:55:48 UTC) #2
rossberg
http://codereview.chromium.org/9401008/diff/1/src/parser.cc File src/parser.cc (right): http://codereview.chromium.org/9401008/diff/1/src/parser.cc#newcode1285 src/parser.cc:1285: Consume(Token::PERIOD); On 2012/02/20 09:55:48, Lasse Reichstein Nielsen wrote: > ...
8 years, 10 months ago (2012-02-20 12:30:04 UTC) #3
Lasse Reichstein Nielsen
8 years, 10 months ago (2012-02-21 13:46:02 UTC) #4
Still LGTM!

http://codereview.chromium.org/9401008/diff/4001/src/parser.cc
File src/parser.cc (right):

http://codereview.chromium.org/9401008/diff/4001/src/parser.cc#newcode1316
src/parser.cc:1316: symbol = GetSymbol(CHECK_OK);
Great! :)

Powered by Google App Engine
This is Rietveld 408576698