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

Issue 2224843003: Reduce number of scope() accesses (Closed)

Created:
4 years, 4 months ago by Toon Verwaest
Modified:
4 years, 4 months ago
Reviewers:
adamk
CC:
v8-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Reduce number of scope() accesses To be able to lazily allocate BlockScopes, we need to reduce access to scope(). The explicit accesses removed here just need access to the current scope to allocate unresolved variable proxies. Those in the future should go over ScopeState rather than directly to Scope. BUG=v8:5209 Committed: https://crrev.com/8cdb64d82c200b29a8987b3047070ef66ff1744e Cr-Commit-Position: refs/heads/master@{#38456}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Undo unrelated change #

Unified diffs Side-by-side diffs Delta from patch set Stats (+51 lines, -70 lines) Patch
M src/parsing/parser.h View 1 chunk +6 lines, -10 lines 0 comments Download
M src/parsing/parser.cc View 1 12 chunks +28 lines, -39 lines 0 comments Download
M src/parsing/parser-base.h View 9 chunks +11 lines, -11 lines 0 comments Download
M src/parsing/preparser.h View 2 chunks +6 lines, -10 lines 0 comments Download

Messages

Total messages: 10 (4 generated)
Toon Verwaest
ptal
4 years, 4 months ago (2016-08-08 15:40:13 UTC) #2
adamk
lgtm once the param_block/init_block thing is dealt with. https://codereview.chromium.org/2224843003/diff/1/src/parsing/parser.cc File src/parsing/parser.cc (right): https://codereview.chromium.org/2224843003/diff/1/src/parsing/parser.cc#newcode4779 src/parsing/parser.cc:4779: if ...
4 years, 4 months ago (2016-08-08 15:55:44 UTC) #3
Toon Verwaest
https://codereview.chromium.org/2224843003/diff/1/src/parsing/parser.cc File src/parsing/parser.cc (right): https://codereview.chromium.org/2224843003/diff/1/src/parsing/parser.cc#newcode4779 src/parsing/parser.cc:4779: if (!parameter.is_simple() && scope()->calls_sloppy_eval()) { On 2016/08/08 15:55:44, adamk ...
4 years, 4 months ago (2016-08-08 18:16:02 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2224843003/20001
4 years, 4 months ago (2016-08-08 18:20:28 UTC) #7
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 4 months ago (2016-08-08 18:53:14 UTC) #8
commit-bot: I haz the power
4 years, 4 months ago (2016-08-08 18:58:24 UTC) #10
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/8cdb64d82c200b29a8987b3047070ef66ff1744e
Cr-Commit-Position: refs/heads/master@{#38456}

Powered by Google App Engine
This is Rietveld 408576698