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

Issue 2024253002: [stubs] Remove N-argument Hydrogen-based Array constructor stub (Closed)

Created:
4 years, 6 months ago by danno
Modified:
4 years, 6 months ago
CC:
v8-reviews_googlegroups.com, v8-mips-ports_googlegroups.com, v8-x87-ports_googlegroups.com, v8-ppc-ports_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[stubs] Remove N-argument Hydrogen-based Array constructor stub Instead, always tail call to the runtime. Also, cleanup the various versions of the runtime call that is used for Array construction fallback. There can be only one. BUG=chromium:608675 LOG=N Committed: https://crrev.com/c8ac0d8693f559795eeb3f3aaf386dde166fb2ab Cr-Commit-Position: refs/heads/master@{#36888}

Patch Set 1 #

Patch Set 2 : Rebase #

Patch Set 3 : Rebase #

Patch Set 4 : Fix ia32 and x64 #

Patch Set 5 : Remaining ports #

Patch Set 6 : Remaining ports #

Patch Set 7 : Code stubs #

Total comments: 2

Patch Set 8 : Moar #

Patch Set 9 : Review feedback #

Patch Set 10 : Fix arm64 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+197 lines, -843 lines) Patch
M src/arm/code-stubs-arm.cc View 1 2 3 4 5 6 7 8 7 chunks +17 lines, -59 lines 0 comments Download
M src/arm/interface-descriptors-arm.cc View 1 2 3 4 2 chunks +1 line, -8 lines 0 comments Download
M src/arm64/code-stubs-arm64.cc View 1 2 3 4 5 6 7 8 9 7 chunks +17 lines, -65 lines 0 comments Download
M src/arm64/interface-descriptors-arm64.cc View 1 2 3 4 1 chunk +1 line, -9 lines 0 comments Download
M src/code-stubs.h View 1 2 3 8 chunks +11 lines, -96 lines 0 comments Download
M src/code-stubs.cc View 1 2 3 4 5 6 7 8 6 chunks +14 lines, -39 lines 0 comments Download
M src/code-stubs-hydrogen.cc View 1 2 3 2 chunks +0 lines, -110 lines 0 comments Download
M src/compiler/js-generic-lowering.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -2 lines 0 comments Download
M src/crankshaft/arm/lithium-codegen-arm.cc View 1 2 3 4 5 6 7 2 chunks +3 lines, -9 lines 0 comments Download
M src/crankshaft/arm64/lithium-codegen-arm64.cc View 1 2 3 4 5 6 7 2 chunks +2 lines, -10 lines 0 comments Download
M src/crankshaft/ia32/lithium-codegen-ia32.cc View 1 2 3 4 5 6 7 2 chunks +2 lines, -9 lines 0 comments Download
M src/crankshaft/mips/lithium-codegen-mips.cc View 1 2 3 4 5 6 7 2 chunks +3 lines, -9 lines 0 comments Download
M src/crankshaft/mips64/lithium-codegen-mips64.cc View 1 2 3 4 5 6 7 8 3 chunks +4 lines, -10 lines 0 comments Download
M src/crankshaft/x64/lithium-codegen-x64.cc View 1 2 3 4 5 6 7 2 chunks +2 lines, -9 lines 0 comments Download
M src/ia32/code-stubs-ia32.cc View 1 2 3 4 5 6 7 8 7 chunks +18 lines, -66 lines 0 comments Download
M src/ia32/interface-descriptors-ia32.cc View 1 1 chunk +6 lines, -11 lines 0 comments Download
M src/interface-descriptors.h View 1 2 chunks +10 lines, -12 lines 0 comments Download
M src/interface-descriptors.cc View 1 1 chunk +3 lines, -14 lines 0 comments Download
M src/mips/code-stubs-mips.cc View 1 2 3 4 5 6 7 8 7 chunks +18 lines, -59 lines 1 comment Download
M src/mips/interface-descriptors-mips.cc View 1 2 3 4 1 chunk +1 line, -9 lines 0 comments Download
M src/mips64/code-stubs-mips64.cc View 1 2 3 4 5 6 7 8 7 chunks +18 lines, -59 lines 0 comments Download
M src/mips64/interface-descriptors-mips64.cc View 1 2 3 4 1 chunk +1 line, -9 lines 0 comments Download
M src/runtime/runtime.h View 1 2 3 4 5 6 7 8 1 chunk +20 lines, -23 lines 0 comments Download
M src/runtime/runtime-array.cc View 1 2 3 4 5 6 7 8 2 chunks +0 lines, -67 lines 0 comments Download
M src/x64/code-stubs-x64.cc View 1 2 3 4 5 6 7 8 7 chunks +18 lines, -59 lines 0 comments Download
M src/x64/interface-descriptors-x64.cc View 1 2 3 1 chunk +6 lines, -11 lines 0 comments Download

Messages

Total messages: 18 (10 generated)
Benedikt Meurer
LGTM with nit, but Michael might want to take a look too. https://codereview.chromium.org/2024253002/diff/120001/src/runtime/runtime-array.cc File src/runtime/runtime-array.cc ...
4 years, 6 months ago (2016-06-10 05:29:40 UTC) #4
danno
PTAL
4 years, 6 months ago (2016-06-10 06:28:42 UTC) #7
danno
Feedback addressed. https://codereview.chromium.org/2024253002/diff/120001/src/runtime/runtime-array.cc File src/runtime/runtime-array.cc (right): https://codereview.chromium.org/2024253002/diff/120001/src/runtime/runtime-array.cc#newcode325 src/runtime/runtime-array.cc:325: RUNTIME_FUNCTION(Runtime_ArrayConstructor) { On 2016/06/10 05:29:40, Benedikt Meurer ...
4 years, 6 months ago (2016-06-10 06:29:45 UTC) #8
mvstanton
Fantastic cleanup! LGTM.
4 years, 6 months ago (2016-06-10 10:30:59 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2024253002/180001
4 years, 6 months ago (2016-06-10 10:57:57 UTC) #12
balazs.kilvady
A small nit: https://codereview.chromium.org/2024253002/diff/180001/src/mips/code-stubs-mips.cc File src/mips/code-stubs-mips.cc (right): https://codereview.chromium.org/2024253002/diff/180001/src/mips/code-stubs-mips.cc#newcode31 src/mips/code-stubs-mips.cc:31: __ Push(a2); Push(a1, a2) could be ...
4 years, 6 months ago (2016-06-10 10:59:04 UTC) #14
commit-bot: I haz the power
Committed patchset #10 (id:180001)
4 years, 6 months ago (2016-06-10 11:00:08 UTC) #16
commit-bot: I haz the power
4 years, 6 months ago (2016-06-10 11:02:05 UTC) #18
Message was sent while issue was closed.
Patchset 10 (id:??) landed as
https://crrev.com/c8ac0d8693f559795eeb3f3aaf386dde166fb2ab
Cr-Commit-Position: refs/heads/master@{#36888}

Powered by Google App Engine
This is Rietveld 408576698