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

Issue 1322803002: Adding ElementsAccessor::Unshift (Closed)

Created:
5 years, 3 months ago by Camillo Bruni
Modified:
5 years, 3 months ago
Reviewers:
Igor Sheludko
CC:
v8-dev
Base URL:
https://chromium.googlesource.com/v8/v8.git@2015-08-28_elements_accessor_pop
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Adding ElementsAccessor::Unshift Move BackingStore specific implementation from builtins.cc tp ElementsAccessor BUG= Committed: https://crrev.com/ec2518eedb200532d3402785dc86cd691ef4d776 Cr-Commit-Position: refs/heads/master@{#30526}

Patch Set 1 #

Patch Set 2 : merging downstream CL #

Patch Set 3 : Adding WriteBarrierMode argument to SetImpl #

Patch Set 4 : merging with master #

Patch Set 5 : Avoid indirection via SetValue for speedup #

Patch Set 6 : less indirections #

Total comments: 4

Patch Set 7 : Make SetValue #

Patch Set 8 : cleanup #

Patch Set 9 : Use directly set(...) in SetImpl(...) #

Patch Set 10 : Use set directly #

Patch Set 11 : Removing needless SetValue implementations #

Total comments: 3

Patch Set 12 : removing obsolete methods #

Patch Set 13 : space #

Unified diffs Side-by-side diffs Delta from patch set Stats (+120 lines, -55 lines) Patch
M src/builtins.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +4 lines, -38 lines 0 comments Download
M src/elements.h View 1 1 chunk +4 lines, -0 lines 0 comments Download
M src/elements.cc View 1 2 3 4 5 6 7 8 9 10 11 12 10 chunks +111 lines, -7 lines 0 comments Download
M src/objects.h View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +1 line, -4 lines 0 comments Download
M src/objects.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +0 lines, -6 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 23 (9 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1322803002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1322803002/1
5 years, 3 months ago (2015-08-31 09:04:11 UTC) #2
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 3 months ago (2015-08-31 09:29:43 UTC) #4
Camillo Bruni
5 years, 3 months ago (2015-08-31 12:21:43 UTC) #6
Camillo Bruni
PTAL https://codereview.chromium.org/1322803002/diff/100001/src/elements.cc File src/elements.cc (right): https://codereview.chromium.org/1322803002/diff/100001/src/elements.cc#newcode698 src/elements.cc:698: uint32_t dst_index, int copy_size) { Added this ConvertElementsWithCapacity ...
5 years, 3 months ago (2015-09-01 08:45:13 UTC) #7
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1322803002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1322803002/100001
5 years, 3 months ago (2015-09-01 08:45:25 UTC) #9
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 3 months ago (2015-09-01 09:15:07 UTC) #11
Camillo Bruni
Making SetValue inlineable. Perf difference is still visible: 1. [].unshift(1) is ~-5% 2. [].unshift(1,....,1000) is ...
5 years, 3 months ago (2015-09-01 09:39:47 UTC) #12
Camillo Bruni
PTAl Removed SetValue(..., WriteBarrierMode), added direct SetImpl on subclasses. https://codereview.chromium.org/1322803002/diff/200001/src/elements.cc File src/elements.cc (right): https://codereview.chromium.org/1322803002/diff/200001/src/elements.cc#newcode572 src/elements.cc:572: ...
5 years, 3 months ago (2015-09-01 12:04:51 UTC) #13
Igor Sheludko
lgtm with nits: https://codereview.chromium.org/1322803002/diff/200001/src/objects.h File src/objects.h (right): https://codereview.chromium.org/1322803002/diff/200001/src/objects.h#newcode2394 src/objects.h:2394: inline void SetValue(uint32_t index, Object* value); ...
5 years, 3 months ago (2015-09-01 16:05:50 UTC) #14
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1322803002/240001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1322803002/240001
5 years, 3 months ago (2015-09-01 17:32:57 UTC) #16
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 3 months ago (2015-09-01 18:29:22 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1322803002/240001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1322803002/240001
5 years, 3 months ago (2015-09-01 21:18:24 UTC) #21
commit-bot: I haz the power
Committed patchset #13 (id:240001)
5 years, 3 months ago (2015-09-01 21:19:52 UTC) #22
commit-bot: I haz the power
5 years, 3 months ago (2015-09-01 21:20:19 UTC) #23
Message was sent while issue was closed.
Patchset 13 (id:??) landed as
https://crrev.com/ec2518eedb200532d3402785dc86cd691ef4d776
Cr-Commit-Position: refs/heads/master@{#30526}

Powered by Google App Engine
This is Rietveld 408576698