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

Issue 2461363002: [stubs]: Support 1->2 byte copies in CopyStringCharacters (Closed)

Created:
4 years, 1 month ago by danno
Modified:
4 years, 1 month ago
CC:
v8-reviews_googlegroups.com, v8-mips-ports_googlegroups.com, v8-x87-ports_googlegroups.com, rmcilroy, v8-ppc-ports_googlegroups.com
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[stubs]: Support 1->2 byte copies in CopyStringCharacters In the process, add a more general mechanism for passing around and amending list of CodeStubAssembler Variables. That change makes it possible to more easily add Variables to loops that are generated by utility functions, e.g. BuildFastLoop. LOG=N Committed: https://crrev.com/9e2fd36c3b3b77b0ade7e753a1997a9130c5d75a Cr-Commit-Position: refs/heads/master@{#40700}

Patch Set 1 #

Patch Set 2 : [stubs]: Support 1->2 byte copies in CopyStringCharacter #

Patch Set 3 : Add tests #

Total comments: 8

Patch Set 4 : Review feedback #

Patch Set 5 : Fix 64-bit problem #

Total comments: 2

Patch Set 6 : Review feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+239 lines, -53 lines) Patch
M src/code-stub-assembler.h View 1 2 3 4 5 3 chunks +15 lines, -3 lines 0 comments Download
M src/code-stub-assembler.cc View 1 2 3 6 chunks +68 lines, -41 lines 0 comments Download
M src/compiler/code-assembler.h View 1 2 3 2 chunks +9 lines, -4 lines 0 comments Download
M src/compiler/code-assembler.cc View 1 2 3 4 5 1 chunk +4 lines, -5 lines 0 comments Download
M src/zone/zone.h View 1 2 3 4 1 chunk +7 lines, -0 lines 0 comments Download
M test/cctest/test-code-stub-assembler.cc View 1 2 1 chunk +136 lines, -0 lines 0 comments Download

Messages

Total messages: 30 (19 generated)
danno
PTAL
4 years, 1 month ago (2016-10-31 14:12:15 UTC) #3
danno
Adding Michi for compiler/ changes.
4 years, 1 month ago (2016-10-31 14:12:58 UTC) #5
Michael Starzinger
LGTM on "compiler" with comments. Didn't look at the rest. https://codereview.chromium.org/2461363002/diff/40001/src/compiler/code-assembler.h File src/compiler/code-assembler.h (right): https://codereview.chromium.org/2461363002/diff/40001/src/compiler/code-assembler.h#newcode215 ...
4 years, 1 month ago (2016-10-31 14:26:45 UTC) #6
Igor Sheludko
First round of comments. https://codereview.chromium.org/2461363002/diff/40001/src/code-stub-assembler.cc File src/code-stub-assembler.cc (right): https://codereview.chromium.org/2461363002/diff/40001/src/code-stub-assembler.cc#newcode2090 src/code-stub-assembler.cc:2090: DCHECK_EQ(SeqOneByteString::kHeaderSize, SeqTwoByteString::kHeaderSize); STATIC_ASSERT https://codereview.chromium.org/2461363002/diff/40001/src/code-stub-assembler.cc#newcode6989 src/code-stub-assembler.cc:6989: ...
4 years, 1 month ago (2016-10-31 18:35:57 UTC) #7
danno
Feedback addressed. Please take another look.
4 years, 1 month ago (2016-11-01 16:40:33 UTC) #14
jgruber
LGTM, nice! https://codereview.chromium.org/2461363002/diff/80001/src/code-stub-assembler.h File src/code-stub-assembler.h (right): https://codereview.chromium.org/2461363002/diff/80001/src/code-stub-assembler.h#newcode521 src/code-stub-assembler.h:521: // must be either both one-byte strings ...
4 years, 1 month ago (2016-11-02 09:14:22 UTC) #17
Igor Sheludko
https://codereview.chromium.org/2461363002/diff/80001/src/compiler/code-assembler.cc File src/compiler/code-assembler.cc (right): https://codereview.chromium.org/2461363002/diff/80001/src/compiler/code-assembler.cc#newcode1069 src/compiler/code-assembler.cc:1069: CodeAssembler::Label::Label(CodeAssembler* assembler, size_t size, size -> vars_count?
4 years, 1 month ago (2016-11-02 11:15:38 UTC) #18
Igor Sheludko
lgtm
4 years, 1 month ago (2016-11-02 11:15:45 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2461363002/100001
4 years, 1 month ago (2016-11-02 13:16:46 UTC) #26
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 1 month ago (2016-11-02 13:18:56 UTC) #28
commit-bot: I haz the power
4 years, 1 month ago (2016-11-17 22:19:23 UTC) #30
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/9e2fd36c3b3b77b0ade7e753a1997a9130c5d75a
Cr-Commit-Position: refs/heads/master@{#40700}

Powered by Google App Engine
This is Rietveld 408576698