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

Issue 2652893011: [turbofan] Instance types don't change, so no need to watch for side effects. (Closed)

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

Description

[turbofan] Instance types don't change, so no need to watch for side effects. The instance type of an object cannot change, only the concrete map might. So when searching for an instance type witness, we don't need to pay attention to potentially side-effecting nodes. R=mstarzinger@chromium.org Review-Url: https://codereview.chromium.org/2652893011 Cr-Commit-Position: refs/heads/master@{#42699} Committed: https://chromium.googlesource.com/v8/v8/+/7f441a5e1bb58c4d1101291d0afb9eb435433c88

Patch Set 1 #

Total comments: 2

Patch Set 2 : Add guard #

Total comments: 2

Patch Set 3 : Address comment. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -21 lines) Patch
M src/compiler/js-builtin-reducer.cc View 1 2 1 chunk +9 lines, -21 lines 0 comments Download

Messages

Total messages: 19 (11 generated)
Benedikt Meurer
3 years, 10 months ago (2017-01-26 12:22:26 UTC) #1
Michael Starzinger
https://codereview.chromium.org/2652893011/diff/1/src/compiler/js-builtin-reducer.cc File src/compiler/js-builtin-reducer.cc (right): https://codereview.chromium.org/2652893011/diff/1/src/compiler/js-builtin-reducer.cc#newcode915 src/compiler/js-builtin-reducer.cc:915: // attention to potentially side-effecting nodes here. As discussed ...
3 years, 10 months ago (2017-01-26 12:45:38 UTC) #6
Benedikt Meurer
https://codereview.chromium.org/2652893011/diff/1/src/compiler/js-builtin-reducer.cc File src/compiler/js-builtin-reducer.cc (right): https://codereview.chromium.org/2652893011/diff/1/src/compiler/js-builtin-reducer.cc#newcode915 src/compiler/js-builtin-reducer.cc:915: // attention to potentially side-effecting nodes here. On 2017/01/26 ...
3 years, 10 months ago (2017-01-26 12:48:08 UTC) #7
Michael Starzinger
https://codereview.chromium.org/2652893011/diff/20001/src/compiler/js-builtin-reducer.cc File src/compiler/js-builtin-reducer.cc (right): https://codereview.chromium.org/2652893011/diff/20001/src/compiler/js-builtin-reducer.cc#newcode917 src/compiler/js-builtin-reducer.cc:917: DCHECK_LE(FIRST_NONSTRING_TYPE, instance_type); nit: I think it also doesn't hold ...
3 years, 10 months ago (2017-01-26 13:09:49 UTC) #8
Michael Starzinger
LGTM once comment is addressed.
3 years, 10 months ago (2017-01-26 13:10:02 UTC) #9
Benedikt Meurer
Thanks, addressed. https://codereview.chromium.org/2652893011/diff/20001/src/compiler/js-builtin-reducer.cc File src/compiler/js-builtin-reducer.cc (right): https://codereview.chromium.org/2652893011/diff/20001/src/compiler/js-builtin-reducer.cc#newcode917 src/compiler/js-builtin-reducer.cc:917: DCHECK_LE(FIRST_NONSTRING_TYPE, instance_type); On 2017/01/26 13:09:49, Michael Starzinger ...
3 years, 10 months ago (2017-01-26 13:16:20 UTC) #12
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/2652893011/40001
3 years, 10 months ago (2017-01-26 13:16:59 UTC) #16
commit-bot: I haz the power
3 years, 10 months ago (2017-01-26 14:15:04 UTC) #19
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/v8/v8/+/7f441a5e1bb58c4d1101291d0afb9eb4354...

Powered by Google App Engine
This is Rietveld 408576698