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

Issue 203463011: Add option to run ScopeIterator faster giving up nested scope chain. (Closed)

Created:
6 years, 9 months ago by aandrey
Modified:
6 years, 9 months ago
Reviewers:
ulan, yangguo, pfeldman
CC:
v8-dev
Base URL:
git://github.com/v8/v8.git@master
Visibility:
Public.

Description

Add option to run ScopeIterator faster giving up nested scope chain. We'd like to be able to trade nested scope chain info (consisting of with, block and catch scopes) in favor of speed in some cases. BUG=chromium:340285 LOG=N R=ulan@chromium.org, pfeldman, ulan, yangguo Committed: https://code.google.com/p/v8/source/detail?r=20162

Patch Set 1 #

Patch Set 2 : #

Total comments: 2

Patch Set 3 : addressed #

Total comments: 2

Patch Set 4 : addressed #

Patch Set 5 : rebased #

Patch Set 6 : rebased2 #

Patch Set 7 : make tests pass #

Patch Set 8 : debug test was failing #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+58 lines, -19 lines) Patch
M src/mirror-debugger.js View 1 2 3 4 5 6 1 chunk +3 lines, -2 lines 0 comments Download
M src/runtime.h View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M src/runtime.cc View 1 2 3 4 5 6 7 5 chunks +34 lines, -13 lines 1 comment Download
M test/mjsunit/debug-scopes.js View 1 2 3 4 5 6 7 3 chunks +20 lines, -3 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
aandrey
6 years, 9 months ago (2014-03-19 16:00:39 UTC) #1
ulan
Looks good, one comment: https://codereview.chromium.org/203463011/diff/20001/src/runtime.cc File src/runtime.cc (right): https://codereview.chromium.org/203463011/diff/20001/src/runtime.cc#newcode12263 src/runtime.cc:12263: // args[3]: boolean: fast bit ...
6 years, 9 months ago (2014-03-20 08:15:29 UTC) #2
aandrey
https://codereview.chromium.org/203463011/diff/20001/src/runtime.cc File src/runtime.cc (right): https://codereview.chromium.org/203463011/diff/20001/src/runtime.cc#newcode12263 src/runtime.cc:12263: // args[3]: boolean: fast bit On 2014/03/20 08:15:29, ulan ...
6 years, 9 months ago (2014-03-20 11:50:25 UTC) #3
ulan
One more place remaining: https://codereview.chromium.org/203463011/diff/40001/src/runtime.cc File src/runtime.cc (right): https://codereview.chromium.org/203463011/diff/40001/src/runtime.cc#newcode11737 src/runtime.cc:11737: bool fast = false) fast ...
6 years, 9 months ago (2014-03-20 12:11:49 UTC) #4
aandrey
https://codereview.chromium.org/203463011/diff/40001/src/runtime.cc File src/runtime.cc (right): https://codereview.chromium.org/203463011/diff/40001/src/runtime.cc#newcode11737 src/runtime.cc:11737: bool fast = false) On 2014/03/20 12:11:49, ulan wrote: ...
6 years, 9 months ago (2014-03-20 13:09:05 UTC) #5
ulan
Thanks for fixing. Something seems to be wrong with the Patch Set 4: it changes ...
6 years, 9 months ago (2014-03-20 13:13:08 UTC) #6
aandrey
On 2014/03/20 13:13:08, ulan wrote: > Thanks for fixing. Something seems to be wrong with ...
6 years, 9 months ago (2014-03-20 13:22:17 UTC) #7
ulan
On 2014/03/20 13:22:17, aandrey wrote: > On 2014/03/20 13:13:08, ulan wrote: > > Thanks for ...
6 years, 9 months ago (2014-03-20 13:43:32 UTC) #8
aandrey
On 2014/03/20 13:43:32, ulan wrote: > On 2014/03/20 13:22:17, aandrey wrote: > > On 2014/03/20 ...
6 years, 9 months ago (2014-03-20 13:54:07 UTC) #9
aandrey
PTAL
6 years, 9 months ago (2014-03-20 14:08:08 UTC) #10
ulan
lgtm
6 years, 9 months ago (2014-03-20 14:08:45 UTC) #11
aandrey
PTAL. Changed runtime.cc to not to add nested scope_info for GLOBAL_SCOPE (along with EVAL_SCOPE), otherwise ...
6 years, 9 months ago (2014-03-21 11:39:14 UTC) #12
ulan
https://codereview.chromium.org/203463011/diff/110001/src/runtime.cc File src/runtime.cc (right): https://codereview.chromium.org/203463011/diff/110001/src/runtime.cc#newcode11875 src/runtime.cc:11875: if (scope_info->scope_type() != EVAL_SCOPE && Considering the comment above: ...
6 years, 9 months ago (2014-03-21 12:02:21 UTC) #13
ulan
6 years, 9 months ago (2014-03-21 12:31:06 UTC) #14
Message was sent while issue was closed.
Committed patchset #8 manually as r20162 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698