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

Issue 2559173003: [compiler] Generalize JSContextSpecialization. (Closed)

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

Description

[compiler] Generalize JSContextSpecialization. With this CL, context loads and stores are "strengthened" by reducing the incoming context chain and decreasing the depth accordingly, whenever possible. This enables more opportunities for specialization and will let us easily add module context specialization later. BUG= Review-Url: https://codereview.chromium.org/2559173003 Cr-Commit-Position: refs/heads/master@{#42334} Committed: https://chromium.googlesource.com/v8/v8/+/fd8cebb1a6676dcb4311b660678b75c1d24e5744

Patch Set 1 : . #

Total comments: 6

Patch Set 2 : Feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+534 lines, -51 lines) Patch
M src/compiler/js-context-specialization.h View 1 1 chunk +4 lines, -2 lines 0 comments Download
M src/compiler/js-context-specialization.cc View 1 2 chunks +75 lines, -41 lines 0 comments Download
M src/compiler/node-properties.h View 1 1 chunk +5 lines, -0 lines 0 comments Download
M src/compiler/node-properties.cc View 1 1 chunk +11 lines, -0 lines 0 comments Download
M src/compiler/opcodes.h View 1 1 chunk +4 lines, -0 lines 0 comments Download
M test/cctest/compiler/test-js-context-specialization.cc View 1 6 chunks +435 lines, -8 lines 0 comments Download

Messages

Total messages: 35 (30 generated)
neis
PTAL and let me know what you think.
4 years ago (2016-12-13 10:44:50 UTC) #21
Michael Starzinger
LGTM, cool stuff, only nits! https://codereview.chromium.org/2559173003/diff/160001/src/compiler/js-context-specialization.cc File src/compiler/js-context-specialization.cc (right): https://codereview.chromium.org/2559173003/diff/160001/src/compiler/js-context-specialization.cc#newcode40 src/compiler/js-context-specialization.cc:40: } // XXX: Move ...
3 years, 11 months ago (2017-01-13 13:36:26 UTC) #24
neis
https://codereview.chromium.org/2559173003/diff/160001/src/compiler/js-context-specialization.cc File src/compiler/js-context-specialization.cc (right): https://codereview.chromium.org/2559173003/diff/160001/src/compiler/js-context-specialization.cc#newcode40 src/compiler/js-context-specialization.cc:40: } // XXX: Move to node-properties? On 2017/01/13 13:36:26, ...
3 years, 11 months ago (2017-01-13 14:08:02 UTC) #27
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/2559173003/180001
3 years, 11 months ago (2017-01-13 14:43:01 UTC) #32
commit-bot: I haz the power
3 years, 11 months ago (2017-01-13 14:45:04 UTC) #35
Message was sent while issue was closed.
Committed patchset #2 (id:180001) as
https://chromium.googlesource.com/v8/v8/+/fd8cebb1a6676dcb4311b660678b75c1d24...

Powered by Google App Engine
This is Rietveld 408576698