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

Issue 2407813002: [stubs] Port StringAddStub to TF (Closed)

Created:
4 years, 2 months ago by danno
Modified:
4 years ago
CC:
v8-reviews_googlegroups.com
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[stubs] Port StringAddStub to TF In the process: - Add ToString to the CodeStubAssembler and use it where appropriate - Add constant-folding versions of IntPtrAdd/IntPtrSub to simplify code in element offset computation, especially for strings. BUG=chromium:608675 LOG=N Committed: https://crrev.com/787157dd0f9de2668ff0ae162405a3e191851d6e Cr-Commit-Position: refs/heads/master@{#40379}

Patch Set 1 #

Patch Set 2 : It works #

Patch Set 3 : Left/right convert #

Patch Set 4 : Latest #

Patch Set 5 : Merge with ToT #

Patch Set 6 : Merge with ToT #

Patch Set 7 : Simplify code #

Patch Set 8 : Fix write barrier problems and rebase #

Patch Set 9 : Cleanup #

Patch Set 10 : Fix counters #

Patch Set 11 : Rebase #

Patch Set 12 : Remove stray change #

Total comments: 24

Patch Set 13 : Review feedback #

Patch Set 14 : Review feedback #

Patch Set 15 : Fix test and stuff #

Patch Set 16 : Latest changes and feedback #

Patch Set 17 : Cleanup #

Patch Set 18 : Fix constant handling in string allocation #

Patch Set 19 : Fix Smi constant handling #

Patch Set 20 : Remove printf #

Total comments: 1

Patch Set 21 : Make ASSERT cheaper #

Unified diffs Side-by-side diffs Delta from patch set Stats (+486 lines, -239 lines) Patch
M src/builtins/builtins-conversion.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -5 lines 0 comments Download
M src/builtins/builtins-regexp.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +3 lines, -3 lines 0 comments Download
M src/code-stub-assembler.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 7 chunks +47 lines, -16 lines 0 comments Download
M src/code-stub-assembler.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 17 chunks +380 lines, -171 lines 0 comments Download
M src/code-stubs.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 4 chunks +8 lines, -9 lines 0 comments Download
M src/code-stubs.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 2 chunks +32 lines, -7 lines 0 comments Download
M src/code-stubs-hydrogen.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +0 lines, -28 lines 0 comments Download
M src/compiler/code-assembler.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +1 line, -0 lines 0 comments Download
M src/compiler/code-assembler.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +14 lines, -0 lines 0 comments Download

Messages

Total messages: 74 (64 generated)
danno
PTAL
4 years, 2 months ago (2016-10-13 10:38:16 UTC) #15
danno
Please take another look
4 years, 2 months ago (2016-10-13 13:45:42 UTC) #31
jgruber
LGTM with comments https://codereview.chromium.org/2407813002/diff/220001/src/builtins/builtins-conversion.cc File src/builtins/builtins-conversion.cc (right): https://codereview.chromium.org/2407813002/diff/220001/src/builtins/builtins-conversion.cc#newcode186 src/builtins/builtins-conversion.cc:186: { assembler->Return(assembler->ToString(context, input)); } Shouldn't this ...
4 years, 2 months ago (2016-10-13 14:10:16 UTC) #32
Igor Sheludko
lgtm with nits: https://codereview.chromium.org/2407813002/diff/220001/src/builtins/builtins-conversion.cc File src/builtins/builtins-conversion.cc (right): https://codereview.chromium.org/2407813002/diff/220001/src/builtins/builtins-conversion.cc#newcode186 src/builtins/builtins-conversion.cc:186: { assembler->Return(assembler->ToString(context, input)); } I guess ...
4 years, 2 months ago (2016-10-13 15:41:33 UTC) #35
danno
Adding Michi for compliler/ directory changes https://codereview.chromium.org/2407813002/diff/220001/src/builtins/builtins-conversion.cc File src/builtins/builtins-conversion.cc (right): https://codereview.chromium.org/2407813002/diff/220001/src/builtins/builtins-conversion.cc#newcode186 src/builtins/builtins-conversion.cc:186: { assembler->Return(assembler->ToString(context, input)); ...
4 years, 2 months ago (2016-10-17 14:23:27 UTC) #55
Michael Starzinger
LGTM on "compiler" with one comment. Didn't look at the rest. https://codereview.chromium.org/2407813002/diff/370001/src/compiler/code-assembler.cc File src/compiler/code-assembler.cc (right): ...
4 years, 2 months ago (2016-10-17 14:45:51 UTC) #60
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/2407813002/390001
4 years, 2 months ago (2016-10-18 06:31:46 UTC) #69
danno
Feedback addressed.
4 years, 2 months ago (2016-10-18 06:31:59 UTC) #70
commit-bot: I haz the power
Committed patchset #21 (id:390001)
4 years, 2 months ago (2016-10-18 06:34:45 UTC) #72
commit-bot: I haz the power
4 years, 2 months ago (2016-10-18 06:35:05 UTC) #74
Message was sent while issue was closed.
Patchset 21 (id:??) landed as
https://crrev.com/787157dd0f9de2668ff0ae162405a3e191851d6e
Cr-Commit-Position: refs/heads/master@{#40379}

Powered by Google App Engine
This is Rietveld 408576698