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

Issue 2664853002: [turbofan] Support fast access to the current global object. (Closed)

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

Description

[turbofan] Support fast access to the current global object. This is essentially a port of http://crrev.com/2403003002 to TurboFan, adding support for fast access to JSGlobalObject properties through the current native contexts' JSGlobalProxy. It's a slightly bigger change, since JSNativeContextSpecialization and JSGlobalObjectSpecialization needs merging for this to work, as due to different type feedback layout we cannot just turn a JSLoadNamed into JSLoadGlobal operator (and same for JSStoreNamed vs. JSStoreGlobal). This part of the change is mostly mechanical. CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_chromium_rel_ng R=ishell@chromium.org, jochen@chromium.org BUG=chromium:634276, v8:5267 Review-Url: https://codereview.chromium.org/2664853002 Cr-Commit-Position: refs/heads/master@{#42805} Committed: https://chromium.googlesource.com/v8/v8/+/a14f22818851558ec51f04f5fa3396e242f10b78

Patch Set 1 #

Total comments: 2

Patch Set 2 : Remove unused variables. #

Patch Set 3 : Fix typo in DCHECK. #

Total comments: 4

Patch Set 4 : Address comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+308 lines, -373 lines) Patch
M BUILD.gn View 1 chunk +0 lines, -2 lines 0 comments Download
D src/compiler/js-global-object-specialization.h View 1 chunk +0 lines, -65 lines 0 comments Download
D src/compiler/js-global-object-specialization.cc View 1 chunk +0 lines, -296 lines 0 comments Download
M src/compiler/js-native-context-specialization.h View 4 chunks +13 lines, -0 lines 0 comments Download
M src/compiler/js-native-context-specialization.cc View 1 2 3 8 chunks +295 lines, -1 line 0 comments Download
M src/compiler/pipeline.cc View 3 chunks +0 lines, -7 lines 0 comments Download
M src/v8.gyp View 1 chunk +0 lines, -2 lines 0 comments Download

Messages

Total messages: 30 (23 generated)
Benedikt Meurer
3 years, 10 months ago (2017-01-30 18:09:52 UTC) #1
Benedikt Meurer
Despite being huge, this CL is mostly mechanical refactoring. I marked the two new places, ...
3 years, 10 months ago (2017-01-30 18:11:18 UTC) #4
Igor Sheludko
lgtm with nits https://codereview.chromium.org/2664853002/diff/40001/src/compiler/js-native-context-specialization.cc File src/compiler/js-native-context-specialization.cc (right): https://codereview.chromium.org/2664853002/diff/40001/src/compiler/js-native-context-specialization.cc#newcode289 src/compiler/js-native-context-specialization.cc:289: Reduction JSNativeContextSpecialization::ReduceGlobalAccess( Drive-by comment: the load ...
3 years, 10 months ago (2017-01-30 23:09:34 UTC) #15
Benedikt Meurer
Thanks! https://codereview.chromium.org/2664853002/diff/40001/src/compiler/js-native-context-specialization.cc File src/compiler/js-native-context-specialization.cc (right): https://codereview.chromium.org/2664853002/diff/40001/src/compiler/js-native-context-specialization.cc#newcode289 src/compiler/js-native-context-specialization.cc:289: Reduction JSNativeContextSpecialization::ReduceGlobalAccess( On 2017/01/30 23:09:33, Igor Sheludko wrote: ...
3 years, 10 months ago (2017-01-31 04:55:10 UTC) #18
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/2664853002/60001
3 years, 10 months ago (2017-01-31 04:55:24 UTC) #23
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/2664853002/60001
3 years, 10 months ago (2017-01-31 04:56:13 UTC) #27
commit-bot: I haz the power
3 years, 10 months ago (2017-01-31 06:47:08 UTC) #30
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/v8/v8/+/a14f22818851558ec51f04f5fa3396e242f...

Powered by Google App Engine
This is Rietveld 408576698