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

Issue 1816553002: Introduce a code stub version of Array.prototype.push (Closed)

Created:
4 years, 9 months ago by Toon Verwaest
Modified:
4 years, 9 months ago
Reviewers:
Jakob Kummerow
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

Introduce a code stub version of Array.prototype.push This roughly doubles performance for generic Array.prototype.push. BUG= Committed: https://crrev.com/1134688cedecfdc35808d48fbdfeda49450cb618 Cr-Commit-Position: refs/heads/master@{#34987}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : Cleanup #

Total comments: 9

Patch Set 5 : Add ports #

Patch Set 6 : #

Patch Set 7 : Rebase #

Patch Set 8 : Addressed comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+350 lines, -26 lines) Patch
M src/arm/code-stubs-arm.cc View 1 2 3 4 5 6 1 chunk +4 lines, -0 lines 0 comments Download
M src/arm/interface-descriptors-arm.cc View 1 2 3 4 5 6 1 chunk +6 lines, -0 lines 0 comments Download
M src/arm64/code-stubs-arm64.cc View 1 2 3 4 5 6 1 chunk +4 lines, -0 lines 0 comments Download
M src/arm64/interface-descriptors-arm64.cc View 1 2 3 4 5 6 1 chunk +6 lines, -0 lines 0 comments Download
M src/builtins.cc View 1 2 3 4 5 6 2 chunks +18 lines, -1 line 0 comments Download
M src/code-stubs.h View 1 2 3 4 5 6 2 chunks +9 lines, -0 lines 0 comments Download
M src/code-stubs-hydrogen.cc View 1 2 3 4 5 6 7 2 chunks +190 lines, -0 lines 0 comments Download
M src/crankshaft/arm/lithium-codegen-arm.cc View 1 2 3 4 2 chunks +3 lines, -1 line 0 comments Download
M src/crankshaft/arm64/lithium-codegen-arm64.cc View 1 2 3 4 2 chunks +3 lines, -1 line 0 comments Download
M src/crankshaft/hydrogen-instructions.h View 1 2 3 4 5 6 4 chunks +9 lines, -1 line 0 comments Download
M src/crankshaft/ia32/lithium-codegen-ia32.cc View 1 2 3 4 5 6 2 chunks +3 lines, -1 line 0 comments Download
M src/crankshaft/mips/lithium-codegen-mips.cc View 1 2 3 4 2 chunks +3 lines, -1 line 0 comments Download
M src/crankshaft/mips64/lithium-codegen-mips64.cc View 1 2 3 4 2 chunks +3 lines, -1 line 0 comments Download
M src/crankshaft/x64/lithium-codegen-x64.cc View 2 chunks +3 lines, -1 line 0 comments Download
M src/crankshaft/x87/lithium-codegen-x87.cc View 1 2 3 4 2 chunks +3 lines, -1 line 0 comments Download
M src/deoptimizer.h View 1 2 3 chunks +1 line, -2 lines 0 comments Download
M src/ia32/code-stubs-ia32.cc View 1 2 3 4 5 6 1 chunk +4 lines, -0 lines 0 comments Download
M src/ia32/interface-descriptors-ia32.cc View 1 2 3 4 5 6 1 chunk +6 lines, -0 lines 0 comments Download
M src/interface-descriptors.h View 1 2 3 4 5 6 2 chunks +6 lines, -0 lines 0 comments Download
M src/interface-descriptors.cc View 1 2 3 4 5 6 1 chunk +9 lines, -0 lines 0 comments Download
M src/mips/code-stubs-mips.cc View 1 2 3 4 5 6 1 chunk +4 lines, -0 lines 0 comments Download
M src/mips/interface-descriptors-mips.cc View 1 2 3 4 5 6 1 chunk +6 lines, -0 lines 0 comments Download
M src/mips64/code-stubs-mips64.cc View 1 2 3 4 5 6 1 chunk +4 lines, -0 lines 0 comments Download
M src/mips64/interface-descriptors-mips64.cc View 1 2 3 4 5 6 1 chunk +6 lines, -1 line 0 comments Download
M src/objects.h View 1 2 3 4 5 6 2 chunks +5 lines, -6 lines 0 comments Download
M src/objects-inl.h View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M src/runtime/runtime.h View 1 2 3 4 5 6 2 chunks +1 line, -1 line 0 comments Download
M src/runtime/runtime-array.cc View 1 2 3 4 5 6 4 chunks +10 lines, -6 lines 0 comments Download
M src/x64/code-stubs-x64.cc View 1 2 3 4 5 6 1 chunk +4 lines, -0 lines 0 comments Download
M src/x64/interface-descriptors-x64.cc View 1 2 3 4 5 6 1 chunk +6 lines, -0 lines 0 comments Download
M src/x87/code-stubs-x87.cc View 1 2 3 4 5 6 1 chunk +4 lines, -0 lines 0 comments Download
M src/x87/interface-descriptors-x87.cc View 1 2 3 4 5 6 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (5 generated)
Jakob Kummerow
Looks good, just nits. https://codereview.chromium.org/1816553002/diff/60001/src/code-stubs-hydrogen.cc File src/code-stubs-hydrogen.cc (right): https://codereview.chromium.org/1816553002/diff/60001/src/code-stubs-hydrogen.cc#newcode827 src/code-stubs-hydrogen.cc:827: HValue* bit = AddUncasted<HBitwise>(Token::BIT_AND, bit_field2, ...
4 years, 9 months ago (2016-03-21 15:12:51 UTC) #3
Toon Verwaest
Rebased in 7 (to get LAST_CUSTOM_ELEMENTS_RECEIVER), addressed comments in 8.
4 years, 9 months ago (2016-03-22 08:51:14 UTC) #4
Toon Verwaest
Addressed comments, ptal again. Rebased to get LAST_CUSTOM_ELEMENTS_RECEIVER
4 years, 9 months ago (2016-03-22 09:01:45 UTC) #5
Jakob Kummerow
lgtm
4 years, 9 months ago (2016-03-22 12:27:04 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1816553002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1816553002/140001
4 years, 9 months ago (2016-03-22 12:27:37 UTC) #8
commit-bot: I haz the power
Committed patchset #8 (id:140001)
4 years, 9 months ago (2016-03-22 12:50:59 UTC) #10
commit-bot: I haz the power
4 years, 9 months ago (2016-03-22 12:51:45 UTC) #12
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/1134688cedecfdc35808d48fbdfeda49450cb618
Cr-Commit-Position: refs/heads/master@{#34987}

Powered by Google App Engine
This is Rietveld 408576698