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

Issue 1021713005: [turbofan]: Integrate basic type feedback for property accesses. (Closed)

Created:
5 years, 9 months ago by titzer
Modified:
5 years, 9 months ago
CC:
v8-dev
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[turbofan]: Integrate basic type feedback for property accesses. BUG= Committed: https://crrev.com/78abf9d9d96cde33420028979b84178f1e774c56 Cr-Commit-Position: refs/heads/master@{#27470}

Patch Set 1 #

Patch Set 2 : #

Total comments: 36

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+506 lines, -56 lines) Patch
M BUILD.gn View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M src/compiler.h View 1 2 3 2 chunks +8 lines, -1 line 0 comments Download
M src/compiler.cc View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M src/compiler/access-builder.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M src/compiler/ast-graph-builder.h View 1 2 4 chunks +12 lines, -5 lines 0 comments Download
M src/compiler/ast-graph-builder.cc View 1 2 3 4 21 chunks +59 lines, -30 lines 0 comments Download
M src/compiler/js-intrinsic-lowering.cc View 1 2 3 4 1 chunk +1 line, -9 lines 0 comments Download
A src/compiler/js-type-feedback.h View 1 2 1 chunk +91 lines, -0 lines 0 comments Download
A src/compiler/js-type-feedback.cc View 1 2 3 1 chunk +256 lines, -0 lines 0 comments Download
M src/compiler/node-properties.h View 1 2 2 chunks +7 lines, -0 lines 0 comments Download
M src/compiler/node-properties.cc View 2 chunks +18 lines, -2 lines 0 comments Download
M src/compiler/pipeline.cc View 1 2 14 chunks +45 lines, -3 lines 0 comments Download
M src/compiler/verifier.cc View 1 2 3 4 1 chunk +0 lines, -4 lines 0 comments Download
M src/flag-definitions.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M src/types.cc View 1 chunk +1 line, -1 line 0 comments Download
M tools/gyp/v8.gyp View 1 2 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (3 generated)
titzer
First version, slightly wrong due to wrong deopt locations.
5 years, 9 months ago (2015-03-19 16:56:20 UTC) #2
Michael Starzinger
https://codereview.chromium.org/1021713005/diff/20001/src/compiler.cc File src/compiler.cc (right): https://codereview.chromium.org/1021713005/diff/20001/src/compiler.cc#newcode421 src/compiler.cc:421: } else if (FLAG_turbo_type_feedback) { Can we please move ...
5 years, 9 months ago (2015-03-24 09:06:40 UTC) #3
Michael Starzinger
https://codereview.chromium.org/1021713005/diff/20001/src/compiler/js-type-feedback.cc File src/compiler/js-type-feedback.cc (right): https://codereview.chromium.org/1021713005/diff/20001/src/compiler/js-type-feedback.cc#newcode226 src/compiler/js-type-feedback.cc:226: FieldAccess map_access = {kTaggedBase, JSObject::kMapOffset, Can we use AccessBuilder::ForMap ...
5 years, 9 months ago (2015-03-24 09:25:30 UTC) #4
Toon Verwaest
Some first comments. There seems to be lots of duplication between StoreNamed / LoadNamed. https://codereview.chromium.org/1021713005/diff/20001/src/compiler/js-type-feedback.cc ...
5 years, 9 months ago (2015-03-24 09:42:39 UTC) #5
titzer
https://codereview.chromium.org/1021713005/diff/20001/src/compiler.cc File src/compiler.cc (right): https://codereview.chromium.org/1021713005/diff/20001/src/compiler.cc#newcode421 src/compiler.cc:421: } else if (FLAG_turbo_type_feedback) { On 2015/03/24 09:06:39, Michael ...
5 years, 9 months ago (2015-03-24 10:49:32 UTC) #6
Michael Starzinger
https://codereview.chromium.org/1021713005/diff/20001/src/compiler.cc File src/compiler.cc (right): https://codereview.chromium.org/1021713005/diff/20001/src/compiler.cc#newcode421 src/compiler.cc:421: } else if (FLAG_turbo_type_feedback) { On 2015/03/24 10:49:31, titzer ...
5 years, 9 months ago (2015-03-24 12:11:18 UTC) #7
Toon Verwaest
https://codereview.chromium.org/1021713005/diff/20001/src/compiler/js-type-feedback.cc File src/compiler/js-type-feedback.cc (right): https://codereview.chromium.org/1021713005/diff/20001/src/compiler/js-type-feedback.cc#newcode87 src/compiler/js-type-feedback.cc:87: if (property_details.cell_type() == PropertyCellType::kConstant) { On 2015/03/24 10:49:31, titzer ...
5 years, 9 months ago (2015-03-24 12:56:12 UTC) #8
titzer
https://codereview.chromium.org/1021713005/diff/20001/src/compiler/ast-graph-builder.cc File src/compiler/ast-graph-builder.cc (right): https://codereview.chromium.org/1021713005/diff/20001/src/compiler/ast-graph-builder.cc#newcode1938 src/compiler/ast-graph-builder.cc:1938: BuildNamedLoad(object, name, pair, expr->AssignmentFeedbackId()); On 2015/03/24 12:11:18, Michael Starzinger ...
5 years, 9 months ago (2015-03-24 14:52:06 UTC) #9
Michael Starzinger
LGTM from my end. I didn't look at the JSTypeFeedbackSpecializer logic, but I believe that ...
5 years, 9 months ago (2015-03-24 14:59:40 UTC) #10
Toon Verwaest
JSTypeFeedbackSpecializer lgtm
5 years, 9 months ago (2015-03-24 15:32:06 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1021713005/80001
5 years, 9 months ago (2015-03-26 09:16:34 UTC) #14
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 9 months ago (2015-03-26 09:38:16 UTC) #15
commit-bot: I haz the power
5 years, 9 months ago (2015-03-26 09:38:35 UTC) #16
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/78abf9d9d96cde33420028979b84178f1e774c56
Cr-Commit-Position: refs/heads/master@{#27470}

Powered by Google App Engine
This is Rietveld 408576698