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

Issue 2405813002: Allow lazy parsing of functions nested in eager compiled functions (Closed)

Created:
4 years, 2 months ago by Toon Verwaest
Modified:
4 years, 2 months ago
CC:
v8-reviews_googlegroups.com
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Allow lazy parsing of functions nested in eager compiled functions This is blocked on https://bugs.chromium.org/p/v8/issues/detail?id=5484 BUG=v8:5501 Committed: https://crrev.com/14bf19af64314a559d23bb54f2d942e9227a1fe8 Cr-Commit-Position: refs/heads/master@{#40167}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Put more aggressive lazy parsing behind FLAG_lazy_inner_functions #

Total comments: 6

Patch Set 3 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+23 lines, -36 lines) Patch
M src/ast/scopes.cc View 1 2 1 chunk +1 line, -3 lines 0 comments Download
M src/compiler.cc View 1 2 2 chunks +3 lines, -13 lines 0 comments Download
M src/parsing/parse-info.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M src/parsing/parser.cc View 1 2 3 chunks +9 lines, -10 lines 0 comments Download
M src/parsing/parser-base.h View 1 2 4 chunks +9 lines, -10 lines 0 comments Download

Messages

Total messages: 20 (7 generated)
Toon Verwaest
ptal
4 years, 2 months ago (2016-10-10 11:50:38 UTC) #3
marja
this lgtm (once unblocked)
4 years, 2 months ago (2016-10-10 11:53:50 UTC) #4
jochen (gone - plz use gerrit)
https://codereview.chromium.org/2405813002/diff/1/src/parsing/parse-info.cc File src/parsing/parse-info.cc (right): https://codereview.chromium.org/2405813002/diff/1/src/parsing/parse-info.cc#newcode42 src/parsing/parse-info.cc:42: set_allow_lazy_parsing(true); what's the difference between set_lazy and set_allow_lazy_parsing given ...
4 years, 2 months ago (2016-10-10 12:33:25 UTC) #6
Toon Verwaest
ptal again. Now I put the diff between the old and new code behind the ...
4 years, 2 months ago (2016-10-10 14:15:18 UTC) #7
Toon Verwaest
https://codereview.chromium.org/2405813002/diff/1/src/parsing/parse-info.cc File src/parsing/parse-info.cc (right): https://codereview.chromium.org/2405813002/diff/1/src/parsing/parse-info.cc#newcode42 src/parsing/parse-info.cc:42: set_allow_lazy_parsing(true); On 2016/10/10 12:33:25, jochen wrote: > what's the ...
4 years, 2 months ago (2016-10-10 14:18:52 UTC) #8
marja
I'm not sure if this is correct... https://codereview.chromium.org/2405813002/diff/20001/src/parsing/parser-base.h File src/parsing/parser-base.h (right): https://codereview.chromium.org/2405813002/diff/20001/src/parsing/parser-base.h#newcode3928 src/parsing/parser-base.h:3928: // handling ...
4 years, 2 months ago (2016-10-11 07:56:47 UTC) #9
marja
Oh, also, what does your regression example (pinterest?) say about this CL with and without ...
4 years, 2 months ago (2016-10-11 07:58:28 UTC) #10
Toon Verwaest
https://codereview.chromium.org/2405813002/diff/20001/src/parsing/parser-base.h File src/parsing/parser-base.h (right): https://codereview.chromium.org/2405813002/diff/20001/src/parsing/parser-base.h#newcode3928 src/parsing/parser-base.h:3928: // handling in Scope::ResolveVariable needs to change. On 2016/10/11 ...
4 years, 2 months ago (2016-10-11 10:44:00 UTC) #11
marja
lgtm
4 years, 2 months ago (2016-10-11 10:52:11 UTC) #12
marja
(I was confused about the function scopes, now we indeed don't rely on mode() any ...
4 years, 2 months ago (2016-10-11 10:52:42 UTC) #13
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/2405813002/40001
4 years, 2 months ago (2016-10-11 11:40:44 UTC) #16
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 2 months ago (2016-10-11 12:13:44 UTC) #18
commit-bot: I haz the power
4 years, 2 months ago (2016-10-11 12:14:01 UTC) #20
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/14bf19af64314a559d23bb54f2d942e9227a1fe8
Cr-Commit-Position: refs/heads/master@{#40167}

Powered by Google App Engine
This is Rietveld 408576698