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

Issue 7979001: Scope tree serialization and ScopeIterator cleanup. (Closed)

Created:
9 years, 3 months ago by Steven
Modified:
9 years, 2 months ago
CC:
v8-dev
Visibility:
Public.

Description

Scope tree serialization and ScopeIterator cleanup. The intention is to store enough scope information for the debugger to handle stack allocation of block scoped variables introduced by http://codereview.chromium.org/7860045/ . This CL is based on http://codereview.chromium.org/7904008/ . Committed: http://code.google.com/p/v8/source/detail?r=9673

Patch Set 1 #

Total comments: 27

Patch Set 2 : Addressed comments. #

Patch Set 3 : Added cctest for scope positions. #

Patch Set 4 : Reparsing to get the scope chain. #

Patch Set 5 : Rebased. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+527 lines, -181 lines) Patch
M src/ast.h View 1 2 3 4 3 chunks +2 lines, -6 lines 0 comments Download
M src/ast-inl.h View 1 1 chunk +10 lines, -0 lines 0 comments Download
M src/contexts.h View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M src/objects.h View 1 2 3 4 2 chunks +6 lines, -0 lines 0 comments Download
M src/parser.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M src/parser.cc View 1 2 3 4 23 chunks +37 lines, -32 lines 0 comments Download
M src/runtime.cc View 1 2 3 4 8 chunks +149 lines, -84 lines 0 comments Download
M src/scopeinfo.h View 1 2 3 4 3 chunks +5 lines, -10 lines 0 comments Download
M src/scopeinfo.cc View 1 2 3 4 13 chunks +47 lines, -20 lines 0 comments Download
M src/scopes.h View 1 2 3 4 10 chunks +53 lines, -14 lines 0 comments Download
M src/scopes.cc View 1 2 3 4 6 chunks +31 lines, -11 lines 0 comments Download
M src/v8globals.h View 1 2 3 4 1 chunk +10 lines, -0 lines 0 comments Download
M test/cctest/test-parsing.cc View 1 2 3 4 1 chunk +130 lines, -0 lines 0 comments Download
M test/mjsunit/debug-scopes.js View 1 2 3 4 chunks +44 lines, -2 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Steven
PTAL.
9 years, 3 months ago (2011-09-20 10:21:21 UTC) #1
Kevin Millikin (Chromium)
I like the approach. I think it's clear that both ScopeInfo and the ScopeIterator used ...
9 years, 2 months ago (2011-10-05 08:43:36 UTC) #2
Steven
Thanks for the thorough review. I addressed all of your comments except for refactorings that ...
9 years, 2 months ago (2011-10-06 19:09:27 UTC) #3
Kevin Millikin (Chromium)
On 2011/10/06 19:09:27, Steven wrote: > Thanks for the thorough review. I addressed all of ...
9 years, 2 months ago (2011-10-13 14:34:11 UTC) #4
Steven
Now reparsing the code. And I removed the scope tree and the source positions from ...
9 years, 2 months ago (2011-10-14 15:11:37 UTC) #5
Steven
Rebased this to tip of tree. Please take a look again. New are block scopes ...
9 years, 2 months ago (2011-10-17 15:18:02 UTC) #6
Kevin Millikin (Chromium)
9 years, 2 months ago (2011-10-18 08:10:24 UTC) #7
Very nice.  LGTM.

Powered by Google App Engine
This is Rietveld 408576698