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

Issue 2269603002: Always immediately propagate flags outwards rather than relying on PropagateScopeInfo (Closed)

Created:
4 years, 4 months ago by Toon Verwaest
Modified:
4 years, 4 months ago
Reviewers:
neis, vogelheim, 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

Always immediately propagate flags outwards rather than relying on PropagateScopeInfo - Now "inner_scope_uses_eval_" is also set of scopes that call eval themselves. - AllowLazyParsing doesn't check force_eager_compilation_ anymore. - Both inner_scope_uses_eval_ and force_eager_compilation_ are propagated outwards immediately when set. BUG=v8:5209 Committed: https://crrev.com/6ed87bfbc22f67a4054f9cd767b335eaaddc16a1 Cr-Commit-Position: refs/heads/master@{#38797}

Patch Set 1 #

Patch Set 2 : Update comment #

Total comments: 9

Patch Set 3 : Addressed comments #

Total comments: 1

Patch Set 4 : Rebase #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+42 lines, -39 lines) Patch
M src/ast/scopes.h View 1 2 3 6 chunks +27 lines, -17 lines 1 comment Download
M src/ast/scopes.cc View 1 2 3 7 chunks +12 lines, -20 lines 0 comments Download
M src/parsing/parser-base.h View 1 chunk +3 lines, -2 lines 0 comments Download

Messages

Total messages: 18 (6 generated)
Toon Verwaest
ptal
4 years, 4 months ago (2016-08-22 12:49:08 UTC) #2
neis
https://codereview.chromium.org/2269603002/diff/20001/src/ast/scopes.cc File src/ast/scopes.cc (right): https://codereview.chromium.org/2269603002/diff/20001/src/ast/scopes.cc#newcode884 src/ast/scopes.cc:884: } Can you motivate this change? At least superficially ...
4 years, 4 months ago (2016-08-22 13:21:47 UTC) #3
Toon Verwaest
Addressed comments. https://codereview.chromium.org/2269603002/diff/20001/src/ast/scopes.cc File src/ast/scopes.cc (right): https://codereview.chromium.org/2269603002/diff/20001/src/ast/scopes.cc#newcode884 src/ast/scopes.cc:884: } On 2016/08/22 13:21:47, neis wrote: > ...
4 years, 4 months ago (2016-08-22 14:13:29 UTC) #4
neis
lgtm
4 years, 4 months ago (2016-08-22 14:20:54 UTC) #5
Toon Verwaest
vogelheim: ptal parser
4 years, 4 months ago (2016-08-22 14:24:13 UTC) #7
vogelheim
lgtm. parser/ looks fine; but one nitpick on scopes. :) https://codereview.chromium.org/2269603002/diff/40001/src/ast/scopes.h File src/ast/scopes.h (right): https://codereview.chromium.org/2269603002/diff/40001/src/ast/scopes.h#newcode501 ...
4 years, 4 months ago (2016-08-22 16:16:30 UTC) #8
Toon Verwaest
RecordCallEval does still set it, and it is still used independently of inner_scope_calls_eval. If inner_scope_calls_eval, ...
4 years, 4 months ago (2016-08-22 16:42:22 UTC) #9
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/2269603002/60001
4 years, 4 months ago (2016-08-22 16:44:22 UTC) #12
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 4 months ago (2016-08-22 17:18:46 UTC) #13
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/6ed87bfbc22f67a4054f9cd767b335eaaddc16a1 Cr-Commit-Position: refs/heads/master@{#38797}
4 years, 4 months ago (2016-08-22 17:19:11 UTC) #15
adamk
https://codereview.chromium.org/2269603002/diff/60001/src/ast/scopes.h File src/ast/scopes.h (right): https://codereview.chromium.org/2269603002/diff/60001/src/ast/scopes.h#newcode226 src/ast/scopes.h:226: void RecordEvalCall() { Note that in sloppy mode we ...
4 years, 4 months ago (2016-08-22 19:12:08 UTC) #17
Toon Verwaest
4 years, 4 months ago (2016-08-22 19:24:22 UTC) #18
Message was sent while issue was closed.
Good to know. If it becomes an issue we should just check if any scope along the
way already has the relevant flag set. For now I assumed that could be slower
than just setting. I assumed it doesn't matter that much either way. Better
paying the slightly higher price when using the feature than always paying a
little.

Powered by Google App Engine
This is Rietveld 408576698