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

Issue 8725001: Reapply "Fix the ScopeIterator reimplementation". (Closed)

Created:
9 years ago by Steven
Modified:
9 years ago
Reviewers:
Lasse Reichstein
CC:
v8-dev
Visibility:
Public.

Description

Reapply "Fix the ScopeIterator reimplementation". This reapplies a fixed version of r10076 that also works on arm. Patch set one is r10076 reapplied and patch set 2 contains the new fix. Committed: http://code.google.com/p/v8/source/detail?r=10080

Patch Set 1 #

Patch Set 2 : Use BreakLocationIterator to discover break at return. #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+646 lines, -98 lines) Patch
M src/ast.h View 1 chunk +1 line, -0 lines 2 comments Download
M src/parser.h View 1 chunk +1 line, -1 line 0 comments Download
M src/parser.cc View 2 chunks +10 lines, -2 lines 1 comment Download
M src/rewriter.cc View 1 chunk +14 lines, -2 lines 0 comments Download
M src/runtime.cc View 1 7 chunks +191 lines, -87 lines 0 comments Download
M src/scopes.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M test/cctest/test-parsing.cc View 1 chunk +4 lines, -4 lines 0 comments Download
A test/mjsunit/debug-stepout-scope.js View 1 chunk +423 lines, -0 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
Steven
PTAL.
9 years ago (2011-11-28 18:00:13 UTC) #1
Lasse Reichstein
LGTM. Don't bother removing PartialPreParse now. It should go away eventually, but there is no ...
9 years ago (2011-11-29 08:07:27 UTC) #2
Steven
9 years ago (2011-11-29 08:45:30 UTC) #3
http://codereview.chromium.org/8725001/diff/2001/src/ast.h
File src/ast.h (right):

http://codereview.chromium.org/8725001/diff/2001/src/ast.h#newcode1179
src/ast.h:1179: friend class Rewriter;
Done. Also unfriended Scope :P
On 2011/11/29 08:07:27, Lasse Reichstein wrote:
> Is it really necessary to make Rewriter a friend? Just make the generic
> constructor public instead. If someone outside needs to use the code, it
> probably shouldn't be private.

Powered by Google App Engine
This is Rietveld 408576698