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

Issue 1674633002: Move FastAccessorAssembler from RawMachineAssembler to CodeStubAssembler. (Closed)

Created:
4 years, 10 months ago by vogelheim
Modified:
4 years, 9 months ago
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

Move FastAccessorAssembler from RawMachineAssembler to CodeStubAssembler. (The goal is to have CodeStubAssembler be the sole assembler-like user of the TF compiler pipeline; with RMA being a private implementation detail and FAA being a client.) BUG=chromium:508898 LOG=Y Committed: https://crrev.com/6c8fc936d2637160101655801494cfd5c4f00707 Cr-Commit-Position: refs/heads/master@{#34852}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : Fix memory leak. #

Patch Set 4 : More fixes. #

Patch Set 5 : Fix leak if FAA is deleted w/o building. #

Patch Set 6 : Rebase. #

Patch Set 7 : Rebase. #

Total comments: 3

Patch Set 8 : Address (most) feedback. #

Total comments: 1

Patch Set 9 : Use ApiCallbackStub to remove any compiler/-dependency other than CodeStubAssembler. #

Total comments: 2

Patch Set 10 : Address mstarzinger's comments. #

Patch Set 11 : Minor fixes. (No functional change.) #

Total comments: 2

Patch Set 12 : Remove CodeStubAssembler::ContextParameter. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+135 lines, -517 lines) Patch
M BUILD.gn View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -2 lines 0 comments Download
M src/DEPS View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -3 lines 0 comments Download
M src/api-experimental.cc View 1 2 3 4 5 6 7 8 2 chunks +6 lines, -9 lines 0 comments Download
M src/compiler/code-stub-assembler.h View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +10 lines, -2 lines 0 comments Download
M src/compiler/code-stub-assembler.cc View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +28 lines, -17 lines 0 comments Download
M src/compiler/fast-accessor-assembler.h View 1 2 3 4 5 6 7 1 chunk +0 lines, -105 lines 0 comments Download
D src/compiler/fast-accessor-assembler.cc View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -260 lines 0 comments Download
A + src/fast-accessor-assembler.h View 1 2 3 4 5 6 7 8 9 10 4 chunks +16 lines, -17 lines 0 comments Download
A + src/fast-accessor-assembler.cc View 1 2 3 4 5 6 7 8 9 10 11 7 chunks +71 lines, -100 lines 0 comments Download
M tools/gyp/v8.gyp View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 23 (9 generated)
vogelheim
Please have a look... I guess the main issue is whether we should move CodeStubAssembler::Label ...
4 years, 10 months ago (2016-02-18 14:12:42 UTC) #3
danno
https://codereview.chromium.org/1674633002/diff/120001/src/compiler/code-stub-assembler.h File src/compiler/code-stub-assembler.h (right): https://codereview.chromium.org/1674633002/diff/120001/src/compiler/code-stub-assembler.h#newcode198 src/compiler/code-stub-assembler.h:198: Node* CallN(CallDescriptor* descriptor, Node* code_target, Node** args); Nit: The ...
4 years, 10 months ago (2016-02-18 15:01:15 UTC) #4
vogelheim
https://codereview.chromium.org/1674633002/diff/140001/src/DEPS File src/DEPS (right): https://codereview.chromium.org/1674633002/diff/140001/src/DEPS#newcode5 src/DEPS:5: "+src/compiler/linkage.h", Is this ok? I need Linkage::GetStubCallDescriptor. An alternative ...
4 years, 10 months ago (2016-02-22 11:39:43 UTC) #5
vogelheim
Please have another look. Thanks to the ApiCallbackStub, this no longer needs to muck around ...
4 years, 9 months ago (2016-03-09 12:55:35 UTC) #7
Michael Starzinger
LGTM with one comment to address. https://codereview.chromium.org/1674633002/diff/160001/src/compiler/code-stub-assembler.cc File src/compiler/code-stub-assembler.cc (right): https://codereview.chromium.org/1674633002/diff/160001/src/compiler/code-stub-assembler.cc#newcode132 src/compiler/code-stub-assembler.cc:132: : Linkage::GetStubCallContextParamIndex(param_count); I ...
4 years, 9 months ago (2016-03-09 13:22:06 UTC) #8
vogelheim
https://codereview.chromium.org/1674633002/diff/160001/src/compiler/code-stub-assembler.cc File src/compiler/code-stub-assembler.cc (right): https://codereview.chromium.org/1674633002/diff/160001/src/compiler/code-stub-assembler.cc#newcode132 src/compiler/code-stub-assembler.cc:132: : Linkage::GetStubCallContextParamIndex(param_count); On 2016/03/09 13:22:05, Michael Starzinger wrote: > ...
4 years, 9 months ago (2016-03-09 13:33:09 UTC) #9
danno
https://codereview.chromium.org/1674633002/diff/200001/src/compiler/code-stub-assembler.h File src/compiler/code-stub-assembler.h (right): https://codereview.chromium.org/1674633002/diff/200001/src/compiler/code-stub-assembler.h#newcode149 src/compiler/code-stub-assembler.h:149: Node* ContextParameter(); // Only for JSCall linkage. I'd prefer ...
4 years, 9 months ago (2016-03-15 14:16:03 UTC) #10
vogelheim
https://codereview.chromium.org/1674633002/diff/200001/src/compiler/code-stub-assembler.h File src/compiler/code-stub-assembler.h (right): https://codereview.chromium.org/1674633002/diff/200001/src/compiler/code-stub-assembler.h#newcode149 src/compiler/code-stub-assembler.h:149: Node* ContextParameter(); // Only for JSCall linkage. On 2016/03/15 ...
4 years, 9 months ago (2016-03-15 16:00:03 UTC) #11
danno
lgtm
4 years, 9 months ago (2016-03-16 21:40:36 UTC) #12
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1674633002/220001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1674633002/220001
4 years, 9 months ago (2016-03-17 10:26:23 UTC) #14
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 9 months ago (2016-03-17 11:01:50 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1674633002/220001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1674633002/220001
4 years, 9 months ago (2016-03-17 11:02:36 UTC) #19
commit-bot: I haz the power
Committed patchset #12 (id:220001)
4 years, 9 months ago (2016-03-17 11:04:57 UTC) #21
commit-bot: I haz the power
4 years, 9 months ago (2016-03-17 11:06:19 UTC) #23
Message was sent while issue was closed.
Patchset 12 (id:??) landed as
https://crrev.com/6c8fc936d2637160101655801494cfd5c4f00707
Cr-Commit-Position: refs/heads/master@{#34852}

Powered by Google App Engine
This is Rietveld 408576698