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

Issue 6976025: Simplify the Scope API. (Closed)

Created:
9 years, 7 months ago by Kevin Millikin (Chromium)
Modified:
9 years, 6 months ago
CC:
v8-dev
Visibility:
Public.

Description

Simplify the Scope API. Eliminate the LocalType enum in favor of a pair of functions, one for var and const declarations and one for parameters. Move the responsibility for adding a parameter variable to the Scope's internal data structure into the Scope and out of the parser. R=sgjesse@chromium.org BUG= TEST=

Patch Set 1 #

Patch Set 2 : Clarify comment. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+23 lines, -36 lines) Patch
M src/parser.cc View 2 chunks +2 lines, -5 lines 0 comments Download
M src/scopes.h View 1 4 chunks +7 lines, -15 lines 0 comments Download
M src/scopes.cc View 2 chunks +14 lines, -16 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
Kevin Millikin (Chromium)
9 years, 7 months ago (2011-05-26 13:00:18 UTC) #1
Søren Thygesen Gjesse
9 years, 7 months ago (2011-05-26 13:56:58 UTC) #2
LGTM

Powered by Google App Engine
This is Rietveld 408576698