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

Issue 1398723002: [turbofan] Optimize stores to global properties. (Closed)

Created:
5 years, 2 months ago by Benedikt Meurer
Modified:
5 years, 2 months ago
Reviewers:
Jarin
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

[turbofan] Optimize stores to global properties. This adds support to also lower stores to global property cells in state kConstant or kConstantType, where we need to deoptimize eagerly in case we have a value/type mismatch. Also fixes bugs in the construction of the frame states in the AstGraphBuilder. R=jarin@chromium.org BUG=v8:4470 LOG=n Committed: https://crrev.com/9d2e21775cd4f883f43d77c674fde5e91bb784f8 Cr-Commit-Position: refs/heads/master@{#31178}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Address Jaro's comment. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+104 lines, -29 lines) Patch
M src/compiler/ast-graph-builder.h View 1 chunk +2 lines, -1 line 0 comments Download
M src/compiler/ast-graph-builder.cc View 1 8 chunks +25 lines, -15 lines 0 comments Download
M src/compiler/js-global-specialization.h View 2 chunks +2 lines, -0 lines 0 comments Download
M src/compiler/js-global-specialization.cc View 3 chunks +75 lines, -13 lines 0 comments Download

Messages

Total messages: 9 (2 generated)
Benedikt Meurer
5 years, 2 months ago (2015-10-08 11:16:48 UTC) #1
Benedikt Meurer
Hey Jaro, Patch to consistently optimize all global stores (I'll look into unifying the deoptimize ...
5 years, 2 months ago (2015-10-08 11:18:13 UTC) #2
Jarin
lgtm. Sort of. https://codereview.chromium.org/1398723002/diff/1/src/compiler/ast-graph-builder.cc File src/compiler/ast-graph-builder.cc (right): https://codereview.chromium.org/1398723002/diff/1/src/compiler/ast-graph-builder.cc#newcode2689 src/compiler/ast-graph-builder.cc:2689: if (!is_postfix) environment()->Push(old_value); How about making ...
5 years, 2 months ago (2015-10-08 12:41:32 UTC) #3
Benedikt Meurer
https://codereview.chromium.org/1398723002/diff/1/src/compiler/ast-graph-builder.cc File src/compiler/ast-graph-builder.cc (right): https://codereview.chromium.org/1398723002/diff/1/src/compiler/ast-graph-builder.cc#newcode2689 src/compiler/ast-graph-builder.cc:2689: if (!is_postfix) environment()->Push(old_value); On 2015/10/08 12:41:32, Jarin wrote: > ...
5 years, 2 months ago (2015-10-08 12:52:28 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1398723002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1398723002/20001
5 years, 2 months ago (2015-10-08 12:52:44 UTC) #7
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 2 months ago (2015-10-08 13:29:53 UTC) #8
commit-bot: I haz the power
5 years, 2 months ago (2015-10-08 13:30:04 UTC) #9
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/9d2e21775cd4f883f43d77c674fde5e91bb784f8
Cr-Commit-Position: refs/heads/master@{#31178}

Powered by Google App Engine
This is Rietveld 408576698