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

Issue 1474543004: Implement Fast Accessor Builder (Closed)

Created:
5 years ago by vogelheim
Modified:
5 years ago
CC:
Paweł Hajdan Jr., v8-reviews_googlegroups.com, tandrii(chromium), Sergiy Byelozyorov
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Implement FastAccessorBuilder. ... using the RawMachineAssembler and the work in cl/1407313004 BUG=chromium:508898 LOG=Y Committed: https://crrev.com/515d9ccd8e6df7bf2ca01e2a55aaad30226399e1 Cr-Commit-Position: refs/heads/master@{#32742}

Patch Set 1 #

Total comments: 11

Patch Set 2 : Rebase + remove Enrico's changes. #

Patch Set 3 : A more complete implementation. #

Patch Set 4 : Further cleanup #

Patch Set 5 : Review feedback: Seperate types for value + label ids. #

Total comments: 30

Patch Set 6 : Review feedback; all of the easy stuff. #

Total comments: 1

Patch Set 7 : Review feedback: split headers; forward declare stuff. #

Patch Set 8 : Add tests; remove GetParameters. #

Patch Set 9 : Add tests for load ops. #

Total comments: 17

Patch Set 10 : Review feedback. #

Total comments: 8

Patch Set 11 : Review feedback. #

Total comments: 14

Patch Set 12 : Review feedback. #

Patch Set 13 : Rebase. #

Patch Set 14 : Remove impl_ cleanup. Drop tests for --optimize-for-size. Also rebase. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+853 lines, -17 lines) Patch
M BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 3 chunks +5 lines, -0 lines 0 comments Download
M include/v8.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 3 chunks +9 lines, -4 lines 0 comments Download
A include/v8-experimental.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +53 lines, -0 lines 0 comments Download
M src/DEPS View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +3 lines, -0 lines 0 comments Download
M src/api.cc View 1 2 3 4 5 6 7 8 9 10 11 12 6 chunks +16 lines, -13 lines 0 comments Download
A src/api-experimental.h View 1 2 3 4 5 6 1 chunk +28 lines, -0 lines 0 comments Download
A src/api-experimental.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +126 lines, -0 lines 0 comments Download
A src/compiler/fast-accessor-assembler.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +106 lines, -0 lines 0 comments Download
A src/compiler/fast-accessor-assembler.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +221 lines, -0 lines 0 comments Download
M test/cctest/cctest.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +6 lines, -0 lines 0 comments Download
M test/cctest/cctest.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -0 lines 0 comments Download
A test/cctest/test-api-fast-accessor-builder.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +274 lines, -0 lines 0 comments Download
M tools/gyp/v8.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 3 chunks +5 lines, -0 lines 0 comments Download

Messages

Total messages: 45 (12 generated)
epertoso
Please, update this so that it shows just your changes.
5 years ago (2015-11-25 09:46:32 UTC) #1
epertoso
https://codereview.chromium.org/1474543004/diff/1/src/compiler/fast-accessor-assembler.cc File src/compiler/fast-accessor-assembler.cc (right): https://codereview.chromium.org/1474543004/diff/1/src/compiler/fast-accessor-assembler.cc#newcode76 src/compiler/fast-accessor-assembler.cc:76: nodes_.clear(); These two calls to clear() don't do what ...
5 years ago (2015-11-25 10:31:16 UTC) #4
vogelheim
https://codereview.chromium.org/1474543004/diff/1/src/compiler/fast-accessor-assembler.cc File src/compiler/fast-accessor-assembler.cc (right): https://codereview.chromium.org/1474543004/diff/1/src/compiler/fast-accessor-assembler.cc#newcode76 src/compiler/fast-accessor-assembler.cc:76: nodes_.clear(); On 2015/11/25 10:31:15, epertoso wrote: > These two ...
5 years ago (2015-11-26 14:41:43 UTC) #5
vogelheim
Please have a look. This isn't quite complete yet, but I think it's far enough ...
5 years ago (2015-11-26 14:48:41 UTC) #8
jochen (gone - plz use gerrit)
https://codereview.chromium.org/1474543004/diff/80001/include/v8.h File include/v8.h (right): https://codereview.chromium.org/1474543004/diff/80001/include/v8.h#newcode6982 include/v8.h:6982: namespace experimental { i wonder whether we should move ...
5 years ago (2015-11-27 08:33:45 UTC) #9
epertoso
https://codereview.chromium.org/1474543004/diff/80001/include/v8.h File include/v8.h (right): https://codereview.chromium.org/1474543004/diff/80001/include/v8.h#newcode6986 include/v8.h:6986: struct ValueId { On 2015/11/27 at 08:33:45, jochen wrote: ...
5 years ago (2015-11-27 09:13:13 UTC) #10
Michael Starzinger
https://codereview.chromium.org/1474543004/diff/80001/include/v8.h File include/v8.h (right): https://codereview.chromium.org/1474543004/diff/80001/include/v8.h#newcode6982 include/v8.h:6982: namespace experimental { On 2015/11/27 08:33:45, jochen wrote: > ...
5 years ago (2015-11-27 09:15:53 UTC) #11
Benedikt Meurer
https://codereview.chromium.org/1474543004/diff/80001/src/compiler/fast-accessor-assembler.h File src/compiler/fast-accessor-assembler.h (right): https://codereview.chromium.org/1474543004/diff/80001/src/compiler/fast-accessor-assembler.h#newcode13 src/compiler/fast-accessor-assembler.h:13: #include "src/compiler/raw-machine-assembler.h" How about making RMA::Label forward declarable first? ...
5 years ago (2015-11-27 09:26:23 UTC) #13
epertoso
https://codereview.chromium.org/1474543004/diff/80001/src/compiler/fast-accessor-assembler.cc File src/compiler/fast-accessor-assembler.cc (right): https://codereview.chromium.org/1474543004/diff/80001/src/compiler/fast-accessor-assembler.cc#newcode25 src/compiler/fast-accessor-assembler.cc:25: Linkage::GetJSCallDescriptor(&zone_, false, 1, On 2015/11/27 at 09:15:52, Michael Starzinger ...
5 years ago (2015-11-27 10:04:56 UTC) #15
mvstanton
DBC to answer a query.. https://codereview.chromium.org/1474543004/diff/80001/test/cctest/test-api-fast-accessor-builder.cc File test/cctest/test-api-fast-accessor-builder.cc (right): https://codereview.chromium.org/1474543004/diff/80001/test/cctest/test-api-fast-accessor-builder.cc#newcode55 test/cctest/test-api-fast-accessor-builder.cc:55: ExpectInt32("f = new foo(); ...
5 years ago (2015-11-27 10:21:17 UTC) #16
Michael Starzinger
https://codereview.chromium.org/1474543004/diff/80001/test/cctest/test-api-fast-accessor-builder.cc File test/cctest/test-api-fast-accessor-builder.cc (right): https://codereview.chromium.org/1474543004/diff/80001/test/cctest/test-api-fast-accessor-builder.cc#newcode55 test/cctest/test-api-fast-accessor-builder.cc:55: ExpectInt32("f = new foo(); f.barf", 124); On 2015/11/27 10:21:17, ...
5 years ago (2015-11-27 14:32:54 UTC) #17
vogelheim
Did the easy stuff. Still need to split files & finish the unit tests. Also, ...
5 years ago (2015-11-27 16:24:51 UTC) #19
vogelheim
https://codereview.chromium.org/1474543004/diff/100001/src/compiler/fast-accessor-assembler.cc File src/compiler/fast-accessor-assembler.cc (right): https://codereview.chromium.org/1474543004/diff/100001/src/compiler/fast-accessor-assembler.cc#newcode147 src/compiler/fast-accessor-assembler.cc:147: Handle<Code> code = Pipeline::GenerateCodeForTesting( Is Pipeline::GenerateCodeForTesting the right call? ...
5 years ago (2015-11-27 16:34:09 UTC) #20
Michael Starzinger
https://codereview.chromium.org/1474543004/diff/80001/src/compiler/fast-accessor-assembler.cc File src/compiler/fast-accessor-assembler.cc (right): https://codereview.chromium.org/1474543004/diff/80001/src/compiler/fast-accessor-assembler.cc#newcode25 src/compiler/fast-accessor-assembler.cc:25: Linkage::GetJSCallDescriptor(&zone_, false, 1, On 2015/11/27 16:24:50, vogelheim wrote: > ...
5 years ago (2015-11-27 16:39:49 UTC) #21
vogelheim
Still missing: - more tests. - C++ callback for FastAccessorBuilder. - test fail with --always-opt. ...
5 years ago (2015-11-30 13:41:54 UTC) #22
vogelheim
Please take another look, everyone. - Now with unit tests for all fast-accessor-builder ops. - ...
5 years ago (2015-12-02 14:28:00 UTC) #23
Michael Starzinger
https://codereview.chromium.org/1474543004/diff/160001/src/compiler/fast-accessor-assembler.cc File src/compiler/fast-accessor-assembler.cc (right): https://codereview.chromium.org/1474543004/diff/160001/src/compiler/fast-accessor-assembler.cc#newcode43 src/compiler/fast-accessor-assembler.cc:43: // For JS call descriptor, we can assume that ...
5 years ago (2015-12-02 19:28:06 UTC) #24
vogelheim
There's still bot failures, when --optimize-for-size is on. I still need to look into that. ...
5 years ago (2015-12-03 13:10:31 UTC) #25
Michael Starzinger
LGTM on "compiler" with some nits. Didn't look at the rest all too closely. https://codereview.chromium.org/1474543004/diff/180001/src/compiler/fast-accessor-assembler.cc ...
5 years ago (2015-12-03 13:36:18 UTC) #26
vogelheim
https://codereview.chromium.org/1474543004/diff/180001/src/compiler/fast-accessor-assembler.cc File src/compiler/fast-accessor-assembler.cc (right): https://codereview.chromium.org/1474543004/diff/180001/src/compiler/fast-accessor-assembler.cc#newcode54 src/compiler/fast-accessor-assembler.cc:54: auto object_map = On 2015/12/03 13:36:18, Michael Starzinger wrote: ...
5 years ago (2015-12-04 09:33:01 UTC) #27
vogelheim
https://codereview.chromium.org/1474543004/diff/180001/src/compiler/fast-accessor-assembler.h File src/compiler/fast-accessor-assembler.h (right): https://codereview.chromium.org/1474543004/diff/180001/src/compiler/fast-accessor-assembler.h#newcode28 src/compiler/fast-accessor-assembler.h:28: class CallDescriptor; On 2015/12/03 13:36:18, Michael Starzinger wrote: > ...
5 years ago (2015-12-04 09:35:09 UTC) #28
jochen (gone - plz use gerrit)
lgtm
5 years ago (2015-12-04 09:42:37 UTC) #29
epertoso
https://codereview.chromium.org/1474543004/diff/200001/include/v8-experimental.h File include/v8-experimental.h (right): https://codereview.chromium.org/1474543004/diff/200001/include/v8-experimental.h#newcode49 include/v8-experimental.h:49: void* impl_; Why don't you just forward-declare internal::compiler::FastAccessorAssembler? You ...
5 years ago (2015-12-04 09:56:32 UTC) #30
vogelheim
https://codereview.chromium.org/1474543004/diff/200001/include/v8-experimental.h File include/v8-experimental.h (right): https://codereview.chromium.org/1474543004/diff/200001/include/v8-experimental.h#newcode49 include/v8-experimental.h:49: void* impl_; On 2015/12/04 09:56:32, epertoso wrote: > Why ...
5 years ago (2015-12-08 12:52:56 UTC) #31
jochen (gone - plz use gerrit)
https://codereview.chromium.org/1474543004/diff/200001/include/v8-experimental.h File include/v8-experimental.h (right): https://codereview.chromium.org/1474543004/diff/200001/include/v8-experimental.h#newcode49 include/v8-experimental.h:49: void* impl_; On 2015/12/08 at 12:52:56, vogelheim wrote: > ...
5 years ago (2015-12-08 13:00:42 UTC) #32
epertoso
On 2015/12/08 at 13:00:42, jochen wrote: > https://codereview.chromium.org/1474543004/diff/200001/include/v8-experimental.h > File include/v8-experimental.h (right): > > https://codereview.chromium.org/1474543004/diff/200001/include/v8-experimental.h#newcode49 ...
5 years ago (2015-12-08 13:12:49 UTC) #33
vogelheim
On 2015/12/08 13:12:49, epertoso wrote: > On 2015/12/08 at 13:00:42, jochen wrote: > > > ...
5 years ago (2015-12-09 16:10:49 UTC) #34
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1474543004/260001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1474543004/260001
5 years ago (2015-12-10 10:05:53 UTC) #37
epertoso
lgtm https://codereview.chromium.org/1474543004/diff/200001/src/compiler/fast-accessor-assembler.h File src/compiler/fast-accessor-assembler.h (right): https://codereview.chromium.org/1474543004/diff/200001/src/compiler/fast-accessor-assembler.h#newcode87 src/compiler/fast-accessor-assembler.h:87: base::SmartPointer<RawMachineAssembler> assembler_; On 2015/12/08 at 12:52:56, vogelheim wrote: ...
5 years ago (2015-12-10 10:07:37 UTC) #38
commit-bot: I haz the power
Committed patchset #14 (id:260001)
5 years ago (2015-12-10 10:09:35 UTC) #40
commit-bot: I haz the power
Patchset 14 (id:??) landed as https://crrev.com/515d9ccd8e6df7bf2ca01e2a55aaad30226399e1 Cr-Commit-Position: refs/heads/master@{#32742}
5 years ago (2015-12-10 10:10:20 UTC) #42
vogelheim
A revert of this CL (patchset #14 id:260001) has been created in https://codereview.chromium.org/1513203002/ by vogelheim@chromium.org. ...
5 years ago (2015-12-10 10:15:58 UTC) #43
Michael Achenbach
5 years ago (2015-12-10 10:19:46 UTC) #45
Message was sent while issue was closed.
Another example for outdated tryjobs that the CQ reused... There was apparently
some interaction with the patches that landed in between.

Powered by Google App Engine
This is Rietveld 408576698