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

Issue 1348773002: [turbofan] Call ArgumentsAccessStub to materialize arguments. (Closed)

Created:
5 years, 3 months ago by Michael Starzinger
Modified:
5 years, 2 months ago
Reviewers:
v8-mips-ports, mvstanton, akos.palfi.imgtec
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] Call ArgumentsAccessStub to materialize arguments. This lowers JSCreateArgument nodes to call the ArgumentsAccessStub for help with materializing arguments objects when possible. Along the way this changes the calling convention of said stub to take parameters in registers instead of on the stack. R=mvstanton@chromium.org Committed: https://crrev.com/9b12ec9ac2aff2978d05df775ce621ba4d90cbe8 Cr-Commit-Position: refs/heads/master@{#30919}

Patch Set 1 #

Total comments: 2

Patch Set 2 : One more variant. #

Total comments: 1

Patch Set 3 : Rebased. #

Patch Set 4 : Architecture ports. #

Patch Set 5 : Addressed comment. #

Patch Set 6 : Added MIPS patch. #

Patch Set 7 : Added MIPS64 patch. #

Patch Set 8 : Rebased. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+927 lines, -841 lines) Patch
M src/arm/code-stubs-arm.cc View 1 2 3 7 chunks +133 lines, -139 lines 0 comments Download
M src/arm/interface-descriptors-arm.cc View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
M src/arm64/code-stubs-arm64.cc View 1 2 3 13 chunks +77 lines, -70 lines 0 comments Download
M src/arm64/interface-descriptors-arm64.cc View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
M src/code-factory.h View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M src/code-factory.cc View 1 2 3 4 1 chunk +11 lines, -0 lines 0 comments Download
M src/code-stubs.h View 1 2 3 4 1 chunk +12 lines, -1 line 0 comments Download
M src/compiler/js-typed-lowering.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/compiler/js-typed-lowering.cc View 1 2 3 4 5 6 7 2 chunks +41 lines, -0 lines 0 comments Download
M src/full-codegen/arm/full-codegen-arm.cc View 1 2 3 4 1 chunk +12 lines, -18 lines 0 comments Download
M src/full-codegen/arm64/full-codegen-arm64.cc View 1 2 3 4 1 chunk +12 lines, -17 lines 0 comments Download
M src/full-codegen/ia32/full-codegen-ia32.cc View 1 2 3 4 1 chunk +13 lines, -19 lines 0 comments Download
M src/full-codegen/mips/full-codegen-mips.cc View 1 2 3 4 5 1 chunk +12 lines, -18 lines 0 comments Download
M src/full-codegen/mips64/full-codegen-mips64.cc View 1 2 3 4 5 6 1 chunk +12 lines, -18 lines 0 comments Download
M src/full-codegen/x64/full-codegen-x64.cc View 1 2 3 4 5 6 7 1 chunk +14 lines, -20 lines 0 comments Download
M src/ia32/code-stubs-ia32.cc View 1 2 3 12 chunks +97 lines, -83 lines 0 comments Download
M src/ia32/interface-descriptors-ia32.cc View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M src/interface-descriptors.h View 1 2 2 chunks +12 lines, -0 lines 0 comments Download
M src/interface-descriptors.cc View 1 2 1 chunk +20 lines, -0 lines 0 comments Download
M src/mips/code-stubs-mips.cc View 1 2 3 4 5 8 chunks +150 lines, -162 lines 0 comments Download
M src/mips/interface-descriptors-mips.cc View 1 2 3 4 5 1 chunk +5 lines, -0 lines 0 comments Download
M src/mips64/code-stubs-mips64.cc View 1 2 3 4 5 6 8 chunks +150 lines, -163 lines 0 comments Download
M src/mips64/interface-descriptors-mips64.cc View 1 2 3 4 5 6 1 chunk +5 lines, -0 lines 0 comments Download
M src/x64/code-stubs-x64.cc View 1 2 3 4 5 6 7 8 chunks +115 lines, -113 lines 0 comments Download
M src/x64/interface-descriptors-x64.cc View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (4 generated)
Michael Starzinger
Still work in progress, but ready for high-level comments. https://codereview.chromium.org/1348773002/diff/1/src/full-codegen/ia32/full-codegen-ia32.cc File src/full-codegen/ia32/full-codegen-ia32.cc (right): https://codereview.chromium.org/1348773002/diff/1/src/full-codegen/ia32/full-codegen-ia32.cc#newcode310 src/full-codegen/ia32/full-codegen-ia32.cc:310: ...
5 years, 3 months ago (2015-09-16 15:19:20 UTC) #1
Michael Starzinger
Finished for one arch, I'll wait with the other arch ports until first round of ...
5 years, 3 months ago (2015-09-17 11:16:45 UTC) #2
mvstanton
One comment to address, but the platform stuff looks good. https://codereview.chromium.org/1348773002/diff/20001/src/compiler/js-typed-lowering.cc File src/compiler/js-typed-lowering.cc (right): https://codereview.chromium.org/1348773002/diff/20001/src/compiler/js-typed-lowering.cc#newcode1118 ...
5 years, 3 months ago (2015-09-17 13:29:45 UTC) #3
Michael Starzinger
Some architecture ports done. Comment addressed. Michael: PTAL. This is ready for a final review. ...
5 years, 3 months ago (2015-09-23 17:25:46 UTC) #5
paul.l...
On 2015/09/23 17:25:46, Michael Starzinger wrote: > MIPS-Folks: I might need your help with MIPS ...
5 years, 3 months ago (2015-09-24 05:10:55 UTC) #6
Michael Starzinger
On 2015/09/24 05:10:55, paul.l... wrote: > On 2015/09/23 17:25:46, Michael Starzinger wrote: > > MIPS-Folks: ...
5 years, 3 months ago (2015-09-24 07:52:14 UTC) #7
akos.palfi.imgtec
Hi Michael, I've finished the MIPS64 part, please find the port in: https://codereview.chromium.org/1364223002
5 years, 2 months ago (2015-09-24 13:40:27 UTC) #9
mvstanton
And the rest looks good to me. LGTM.
5 years, 2 months ago (2015-09-24 13:43:17 UTC) #10
Michael Starzinger
On 2015/09/24 13:40:27, akos.palfi.imgtec wrote: > Hi Michael, > > I've finished the MIPS64 part, ...
5 years, 2 months ago (2015-09-24 14:47:01 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1348773002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1348773002/140001
5 years, 2 months ago (2015-09-24 15:28:50 UTC) #14
commit-bot: I haz the power
Committed patchset #8 (id:140001)
5 years, 2 months ago (2015-09-24 15:30:36 UTC) #15
commit-bot: I haz the power
5 years, 2 months ago (2015-09-24 15:30:53 UTC) #16
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/9b12ec9ac2aff2978d05df775ce621ba4d90cbe8
Cr-Commit-Position: refs/heads/master@{#30919}

Powered by Google App Engine
This is Rietveld 408576698