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

Issue 2728763006: Migrate some case conversion functions from JS to CPP builtins (Closed)

Created:
3 years, 9 months ago by jwolfe
Modified:
3 years, 9 months ago
Reviewers:
caitp, Dan Ehrenberg
CC:
v8-reviews_googlegroups.com
Target Ref:
refs/heads/master
Project:
v8
Visibility:
Public.

Description

Migrate String.prototype.to{Upper,Lower}Case functions from JS to CPP builtins. Move ICU case conversion utility functions to a common location. BUG=v8:5751 CQ_INCLUDE_TRYBOTS=master.tryserver.v8:v8_linux_noi18n_rel_ng Review-Url: https://codereview.chromium.org/2728763006 Cr-Commit-Position: refs/heads/master@{#44050} Committed: https://chromium.googlesource.com/v8/v8/+/4a5d1e253573d98fb368f5575412d62e07ee1cf3

Patch Set 1 #

Patch Set 2 : this also doesn't work #

Total comments: 1

Patch Set 3 : actually use icu for new code instead of unibrow again #

Patch Set 4 : flatten strings #

Total comments: 2

Patch Set 5 : respect V8_I18N_SUPPORT #

Patch Set 6 : make V8_I18N_SUPPORT logic work for gn/ninja and gyp/make at the same time #

Total comments: 1

Patch Set 7 : more specific #include #

Total comments: 1

Patch Set 8 : remove TODO comment #

Patch Set 9 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+381 lines, -328 lines) Patch
M BUILD.gn View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M src/bootstrapper.cc View 1 2 3 4 5 6 7 8 1 chunk +16 lines, -15 lines 0 comments Download
M src/builtins/builtins.h View 1 2 3 4 5 6 7 8 3 chunks +16 lines, -3 lines 0 comments Download
A src/builtins/builtins-intl.cc View 1 2 3 4 5 6 1 chunk +32 lines, -0 lines 0 comments Download
M src/i18n.h View 1 2 1 chunk +10 lines, -0 lines 0 comments Download
M src/i18n.cc View 1 2 3 4 5 3 chunks +305 lines, -2 lines 0 comments Download
M src/runtime/runtime-i18n.cc View 1 2 3 4 5 3 chunks +0 lines, -308 lines 0 comments Download
M src/v8.gyp View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 49 (34 generated)
caitp
On 2017/03/14 14:11:39, commit-bot: I haz the power wrote: > Dry run: Try jobs failed ...
3 years, 9 months ago (2017-03-14 14:41:33 UTC) #5
caitp
On 2017/03/14 14:41:33, caitp wrote: > On 2017/03/14 14:11:39, commit-bot: I haz the power wrote: ...
3 years, 9 months ago (2017-03-14 15:08:24 UTC) #6
Dan Ehrenberg
https://codereview.chromium.org/2728763006/diff/20001/src/builtins/builtins-intl.cc File src/builtins/builtins-intl.cc (right): https://codereview.chromium.org/2728763006/diff/20001/src/builtins/builtins-intl.cc#newcode126 src/builtins/builtins-intl.cc:126: MUST_USE_RESULT static Object* ConvertCase( It looks like this case ...
3 years, 9 months ago (2017-03-14 16:19:56 UTC) #7
caitp
https://codereview.chromium.org/2728763006/diff/60001/src/builtins/builtins-intl.cc File src/builtins/builtins-intl.cc (right): https://codereview.chromium.org/2728763006/diff/60001/src/builtins/builtins-intl.cc#newcode8 src/builtins/builtins-intl.cc:8: #include "src/i18n.h" I think you need to wrap this ...
3 years, 9 months ago (2017-03-15 23:27:13 UTC) #22
caitp
https://codereview.chromium.org/2728763006/diff/60001/src/builtins/builtins-intl.cc File src/builtins/builtins-intl.cc (right): https://codereview.chromium.org/2728763006/diff/60001/src/builtins/builtins-intl.cc#newcode8 src/builtins/builtins-intl.cc:8: #include "src/i18n.h" On 2017/03/15 23:27:12, caitp wrote: > I ...
3 years, 9 months ago (2017-03-15 23:28:38 UTC) #23
jwolfe
PTAL. Sorry, I got a rebase tangled up in the latest patch set. The only ...
3 years, 9 months ago (2017-03-17 22:19:21 UTC) #29
Jakob Kummerow
DBC. https://codereview.chromium.org/2728763006/diff/100001/src/builtins/builtins-intl.cc File src/builtins/builtins-intl.cc (right): https://codereview.chromium.org/2728763006/diff/100001/src/builtins/builtins-intl.cc#newcode9 src/builtins/builtins-intl.cc:9: #include "src/code-stub-assembler.h" This doesn't need the CodeStubAssembler. However, ...
3 years, 9 months ago (2017-03-18 12:27:33 UTC) #30
jwolfe
On 2017/03/18 12:27:33, Jakob Kummerow wrote: > DBC. Pardon my ignorance. Does DBC stand for ...
3 years, 9 months ago (2017-03-20 23:47:37 UTC) #31
Dan Ehrenberg
On 2017/03/20 23:47:37, jwolfe wrote: > On 2017/03/18 12:27:33, Jakob Kummerow wrote: > > DBC. ...
3 years, 9 months ago (2017-03-21 09:30:59 UTC) #32
Dan Ehrenberg
lgtm LGTM modulo a nit and Jakob's comment. https://codereview.chromium.org/2728763006/diff/120001/src/builtins/builtins.h File src/builtins/builtins.h (right): https://codereview.chromium.org/2728763006/diff/120001/src/builtins/builtins.h#newcode884 src/builtins/builtins.h:884: /* ...
3 years, 9 months ago (2017-03-21 09:31:17 UTC) #33
Dan Ehrenberg
On 2017/03/21 09:31:17, Dan Ehrenberg wrote: > lgtm > > LGTM modulo a nit and ...
3 years, 9 months ago (2017-03-21 09:31:59 UTC) #34
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/2728763006/140001
3 years, 9 months ago (2017-03-21 22:22:06 UTC) #41
commit-bot: I haz the power
Failed to apply patch for src/builtins/builtins.h: While running git apply --index -p1; error: patch failed: ...
3 years, 9 months ago (2017-03-21 22:23:26 UTC) #43
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/2728763006/160001
3 years, 9 months ago (2017-03-22 22:34:24 UTC) #46
commit-bot: I haz the power
3 years, 9 months ago (2017-03-22 23:06:44 UTC) #49
Message was sent while issue was closed.
Committed patchset #9 (id:160001) as
https://chromium.googlesource.com/v8/v8/+/4a5d1e253573d98fb368f5575412d62e07e...

Powered by Google App Engine
This is Rietveld 408576698