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

Issue 272513004: Reland r20974: Unify and simplify the FastCloneShallowArrayStub (Closed)

Created:
6 years, 7 months ago by danno
Modified:
6 years, 6 months ago
CC:
v8-dev
Visibility:
Public.

Description

Reland r20974: Unify and simplify the FastCloneShallowArrayStub - Don't bake in length/capacity into full codegen calls of stubs, allowing boilerplates to increase their capacity without regenerating code. - Unify all variants of the clone stub into a single, length-independent version. - Various tweaks to make sure that the clone stub doesn't spill and therefore need an eager stack frame. - Handle all lengths of array literals in the fast case. R=mvstanton@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=21230 Committed: https://code.google.com/p/v8/source/detail?r=21253

Patch Set 1 #

Patch Set 2 : Merge to ToT #

Patch Set 3 : Fix stuff #

Patch Set 4 : Fix arm64 build #

Patch Set 5 : Ensure no eager frame is built for stubs #

Patch Set 6 : Fix nit #

Patch Set 7 : Fixes #

Total comments: 17

Patch Set 8 : Nit #

Patch Set 9 : Nit #

Patch Set 10 : Address comments #

Patch Set 11 : This time it will work! #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+403 lines, -350 lines) Patch
M src/arm/code-stubs-arm.cc View 1 2 3 4 5 6 7 3 chunks +14 lines, -0 lines 0 comments Download
M src/arm/full-codegen-arm.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +2 lines, -23 lines 0 comments Download
M src/arm64/code-stubs-arm64.cc View 1 2 3 4 5 6 7 3 chunks +14 lines, -0 lines 0 comments Download
M src/arm64/full-codegen-arm64.cc View 1 chunk +2 lines, -25 lines 0 comments Download
M src/code-stubs.h View 1 2 3 4 5 6 7 8 9 3 chunks +10 lines, -46 lines 0 comments Download
M src/code-stubs.cc View 2 chunks +2 lines, -3 lines 0 comments Download
M src/code-stubs-hydrogen.cc View 1 2 3 4 5 6 7 5 chunks +47 lines, -45 lines 0 comments Download
M src/compiler.h View 1 2 3 4 2 chunks +10 lines, -0 lines 0 comments Download
M src/counters.h View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M src/hydrogen.h View 1 2 3 4 5 6 7 3 chunks +29 lines, -8 lines 0 comments Download
M src/hydrogen.cc View 1 2 3 4 5 6 7 8 9 6 chunks +213 lines, -111 lines 1 comment Download
M src/hydrogen-gvn.cc View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M src/hydrogen-instructions.h View 1 2 3 4 5 6 7 8 9 2 chunks +5 lines, -0 lines 0 comments Download
M src/ia32/code-stubs-ia32.cc View 1 2 3 4 5 6 7 3 chunks +14 lines, -0 lines 0 comments Download
M src/ia32/full-codegen-ia32.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +2 lines, -33 lines 0 comments Download
M src/lithium.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +4 lines, -0 lines 0 comments Download
M src/mips/code-stubs-mips.cc View 1 2 3 4 5 6 7 8 9 10 3 chunks +14 lines, -0 lines 0 comments Download
M src/mips/full-codegen-mips.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +2 lines, -23 lines 0 comments Download
M src/x64/code-stubs-x64.cc View 1 2 3 4 5 6 7 3 chunks +14 lines, -0 lines 0 comments Download
M src/x64/full-codegen-x64.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +2 lines, -32 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
danno
PTAL, this version doesn't try to tweak the register allocation like the last one (which ...
6 years, 7 months ago (2014-05-07 14:14:53 UTC) #1
mvstanton
lgtm, modulo nits and request-for-comments. https://codereview.chromium.org/272513004/diff/110001/src/code-stubs-hydrogen.cc File src/code-stubs-hydrogen.cc (right): https://codereview.chromium.org/272513004/diff/110001/src/code-stubs-hydrogen.cc#newcode649 src/code-stubs-hydrogen.cc:649: result = BuildArraySingleArgumentConstructor(&array_builder); It ...
6 years, 7 months ago (2014-05-09 13:16:48 UTC) #2
danno
feedback addressed, landing... https://codereview.chromium.org/272513004/diff/110001/src/code-stubs-hydrogen.cc File src/code-stubs-hydrogen.cc (right): https://codereview.chromium.org/272513004/diff/110001/src/code-stubs-hydrogen.cc#newcode649 src/code-stubs-hydrogen.cc:649: result = BuildArraySingleArgumentConstructor(&array_builder); On 2014/05/09 13:16:49, ...
6 years, 7 months ago (2014-05-09 15:51:24 UTC) #3
danno
Committed patchset #10 manually as r21230 (presubmit successful).
6 years, 7 months ago (2014-05-09 15:56:07 UTC) #4
danno
PTAL
6 years, 7 months ago (2014-05-12 07:41:56 UTC) #5
mvstanton
lgtm
6 years, 7 months ago (2014-05-12 07:45:07 UTC) #6
danno
Committed patchset #11 manually as r21253 (presubmit successful).
6 years, 7 months ago (2014-05-12 07:49:28 UTC) #7
Igor Sheludko
6 years, 6 months ago (2014-05-28 13:21:03 UTC) #8
Message was sent while issue was closed.
https://codereview.chromium.org/272513004/diff/190001/src/hydrogen.cc
File src/hydrogen.cc (right):

https://codereview.chromium.org/272513004/diff/190001/src/hydrogen.cc#newcode...
src/hydrogen.cc:2532: // Unroll the loop for small elements kinds.
DBC: I'm afraid that this case still requires pre-filling with holes for certain
combinations of elements kinds.

Powered by Google App Engine
This is Rietveld 408576698