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

Issue 2744263002: [string] Refactor direct string conversions (Closed)

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

Description

[string] Refactor direct string conversions This unifies several of the places in CSA that convert various string kinds (cons, thin, sliced) to direct strings (sequential, external). A couple of spots remain with duplicate code, but most of these are more difficult to unify due to specific optimizations. BUG= Review-Url: https://codereview.chromium.org/2744263002 Cr-Commit-Position: refs/heads/master@{#43848} Committed: https://chromium.googlesource.com/v8/v8/+/460ba9c22405d839a642eb2ba799ab2bcc611940

Patch Set 1 #

Patch Set 2 : Update more use sites #

Total comments: 2

Patch Set 3 : Rebase #

Patch Set 4 : Tweaks #

Unified diffs Side-by-side diffs Delta from patch set Stats (+223 lines, -404 lines) Patch
M src/builtins/builtins-regexp.h View 1 2 3 1 chunk +3 lines, -3 lines 0 comments Download
M src/builtins/builtins-regexp.cc View 1 2 3 5 chunks +20 lines, -40 lines 0 comments Download
M src/code-stub-assembler.h View 1 2 3 chunks +38 lines, -8 lines 0 comments Download
M src/code-stub-assembler.cc View 1 2 3 12 chunks +162 lines, -353 lines 0 comments Download

Messages

Total messages: 21 (16 generated)
jgruber
3 years, 9 months ago (2017-03-13 14:42:14 UTC) #11
Camillo Bruni
lgtm https://codereview.chromium.org/2744263002/diff/20001/src/code-stub-assembler.cc File src/code-stub-assembler.cc (right): https://codereview.chromium.org/2744263002/diff/20001/src/code-stub-assembler.cc#newcode3239 src/code-stub-assembler.cc:3239: Node* const offset = SmiAdd(from, SmiTag(to_direct.offset())); Future refactoring: ...
3 years, 9 months ago (2017-03-14 09:06:04 UTC) #12
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/2744263002/60001
3 years, 9 months ago (2017-03-16 08:44:44 UTC) #17
jgruber
https://codereview.chromium.org/2744263002/diff/20001/src/code-stub-assembler.cc File src/code-stub-assembler.cc (right): https://codereview.chromium.org/2744263002/diff/20001/src/code-stub-assembler.cc#newcode3239 src/code-stub-assembler.cc:3239: Node* const offset = SmiAdd(from, SmiTag(to_direct.offset())); On 2017/03/14 09:06:04, ...
3 years, 9 months ago (2017-03-16 08:44:54 UTC) #18
commit-bot: I haz the power
3 years, 9 months ago (2017-03-16 09:09:46 UTC) #21
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/v8/v8/+/460ba9c22405d839a642eb2ba799ab2bcc6...

Powered by Google App Engine
This is Rietveld 408576698