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

Issue 2583163002: Force ctxt allocation in eval scopes. (Closed)

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

Description

Force ctxt allocation in eval scopes. This is another attempt at solving v8:5736; the previous one (r 41723) regressed code load. BUG=v8:5736 R=adamk@chromium.org Review-Url: https://codereview.chromium.org/2583163002 Cr-Commit-Position: refs/heads/master@{#42049} Committed: https://chromium.googlesource.com/v8/v8/+/e87e82b8e7802696670d63b2a9a5b41c07f3f8ed

Patch Set 1 #

Total comments: 2

Patch Set 2 : rebased #

Patch Set 3 : code review (adamk@) #

Total comments: 2

Patch Set 4 : moar #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -2 lines) Patch
M src/ast/scopes.cc View 1 2 3 2 chunks +8 lines, -2 lines 0 comments Download
M test/mjsunit/regress/regress-5736.js View 1 2 1 chunk +8 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (7 generated)
marja
ptal (This needs littedan@'s fix to work.)
4 years ago (2016-12-20 08:40:13 UTC) #1
adamk
Did we see an equivalent progression in CodeLoad when this behavior was changed (which I ...
4 years ago (2016-12-20 17:55:21 UTC) #2
marja
On 2016/12/20 17:55:21, adamk wrote: > Did we see an equivalent progression in CodeLoad when ...
3 years, 11 months ago (2017-01-02 12:58:09 UTC) #3
adamk
On 2017/01/02 12:58:09, marja wrote: > On 2016/12/20 17:55:21, adamk wrote: > > Did we ...
3 years, 11 months ago (2017-01-03 18:32:33 UTC) #6
adamk
https://codereview.chromium.org/2583163002/diff/1/src/ast/scopes.cc File src/ast/scopes.cc (right): https://codereview.chromium.org/2583163002/diff/1/src/ast/scopes.cc#newcode128 src/ast/scopes.cc:128: is_eval_scope(); I don't think you want to do this ...
3 years, 11 months ago (2017-01-03 18:33:44 UTC) #7
adamk
lgtm with nit https://codereview.chromium.org/2583163002/diff/40001/src/ast/scopes.cc File src/ast/scopes.cc (right): https://codereview.chromium.org/2583163002/diff/40001/src/ast/scopes.cc#newcode1184 src/ast/scopes.cc:1184: if (s->is_eval_scope()) return !is_strict(s->language_mode()); Nit: !is_strict(...) ...
3 years, 11 months ago (2017-01-03 19:49:06 UTC) #8
marja
thanks for review! https://codereview.chromium.org/2583163002/diff/1/src/ast/scopes.cc File src/ast/scopes.cc (right): https://codereview.chromium.org/2583163002/diff/1/src/ast/scopes.cc#newcode128 src/ast/scopes.cc:128: is_eval_scope(); On 2017/01/03 18:33:43, adamk wrote: ...
3 years, 11 months ago (2017-01-03 19:55:50 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/2583163002/60001
3 years, 11 months ago (2017-01-03 19:56:07 UTC) #12
commit-bot: I haz the power
Committed patchset #4 (id:60001) as https://chromium.googlesource.com/v8/v8/+/e87e82b8e7802696670d63b2a9a5b41c07f3f8ed
3 years, 11 months ago (2017-01-03 20:27:27 UTC) #15
Benedikt Meurer
Looks like this one actually improved code load :-)
3 years, 11 months ago (2017-01-04 05:02:38 UTC) #17
marja
3 years, 11 months ago (2017-01-04 09:06:17 UTC) #18
Message was sent while issue was closed.
On 2017/01/04 05:02:38, Benedikt Meurer wrote:
> Looks like this one actually improved code load :-)

That was the intention. I.e., getting rid of the regression introduced by the
previous fix.

Powered by Google App Engine
This is Rietveld 408576698