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

Issue 2315343002: [builtins] Move StringNormalize to a cpp builtin. (Closed)

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

Description

[builtins] Move StringNormalize to a cpp builtin. CQ_INCLUDE_TRYBOTS=master.tryserver.v8:v8_linux_noi18n_rel_ng BUG=v8:5364 Committed: https://crrev.com/7f84a6a2e7000bebba49354b4648346ff606ca34 Committed: https://crrev.com/e7b7ba8edd9cccd963940ac4b3e03b1e639a6418 Cr-Original-Commit-Position: refs/heads/master@{#39331} Cr-Commit-Position: refs/heads/master@{#39342}

Patch Set 1 #

Patch Set 2 : take 2 #

Total comments: 3

Patch Set 3 : Watch out for null values coming out of ToString #

Patch Set 4 : Apply noi18n bot fixes so we can actually cover these changes #

Patch Set 5 : Set function length for normalize to 0 #

Patch Set 6 : Clean up string comparisons a bit #

Patch Set 7 : Clean up string comparisons a bit #

Patch Set 8 : Fix incorrect function name in error message #

Total comments: 4

Patch Set 9 : fix up some comments and var naming #

Total comments: 1

Patch Set 10 : Fix comment style #

Patch Set 11 : Fix crash caused by ToString on unassigned var #

Unified diffs Side-by-side diffs Delta from patch set Stats (+38 lines, -25 lines) Patch
M src/bootstrapper.cc View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M src/builtins/builtins.h View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -0 lines 0 comments Download
M src/builtins/builtins-string.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +34 lines, -0 lines 0 comments Download
M src/js/string.js View 2 chunks +0 lines, -25 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 59 (35 generated)
Benedikt Meurer
https://codereview.chromium.org/2315343002/diff/20001/src/builtins/builtins-string.cc File src/builtins/builtins-string.cc (right): https://codereview.chromium.org/2315343002/diff/20001/src/builtins/builtins-string.cc#newcode494 src/builtins/builtins-string.cc:494: MaybeHandle<String> maybe_form(Object::ToString(isolate, args.at<Object>(1))); This is not correct, as the ...
4 years, 3 months ago (2016-09-08 04:41:30 UTC) #4
petermarshall
https://codereview.chromium.org/2315343002/diff/20001/src/builtins/builtins-string.cc File src/builtins/builtins-string.cc (right): https://codereview.chromium.org/2315343002/diff/20001/src/builtins/builtins-string.cc#newcode494 src/builtins/builtins-string.cc:494: MaybeHandle<String> maybe_form(Object::ToString(isolate, args.at<Object>(1))); On 2016/09/08 04:41:30, Benedikt Meurer wrote: ...
4 years, 3 months ago (2016-09-09 11:41:07 UTC) #23
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/2315343002/140001
4 years, 3 months ago (2016-09-09 11:41:09 UTC) #24
commit-bot: I haz the power
No L-G-T-M from a valid reviewer yet. CQ run can only be started by full ...
4 years, 3 months ago (2016-09-09 11:41:17 UTC) #26
Franzi
https://codereview.chromium.org/2315343002/diff/20001/src/builtins/builtins-string.cc File src/builtins/builtins-string.cc (right): https://codereview.chromium.org/2315343002/diff/20001/src/builtins/builtins-string.cc#newcode487 src/builtins/builtins-string.cc:487: TO_THIS_STRING(string, "String.prototype.trim"); trim? https://codereview.chromium.org/2315343002/diff/140001/src/builtins/builtins-string.cc File src/builtins/builtins-string.cc (right): https://codereview.chromium.org/2315343002/diff/140001/src/builtins/builtins-string.cc#newcode483 src/builtins/builtins-string.cc:483: ...
4 years, 3 months ago (2016-09-09 12:51:04 UTC) #27
Franzi
On 2016/09/09 at 12:51:04, Franzi wrote: > https://codereview.chromium.org/2315343002/diff/20001/src/builtins/builtins-string.cc > File src/builtins/builtins-string.cc (right): > > https://codereview.chromium.org/2315343002/diff/20001/src/builtins/builtins-string.cc#newcode487 ...
4 years, 3 months ago (2016-09-09 12:52:28 UTC) #28
petermarshall
https://codereview.chromium.org/2315343002/diff/140001/src/builtins/builtins-string.cc File src/builtins/builtins-string.cc (right): https://codereview.chromium.org/2315343002/diff/140001/src/builtins/builtins-string.cc#newcode483 src/builtins/builtins-string.cc:483: // If Intl is enabled, then i18n.js will override ...
4 years, 3 months ago (2016-09-09 13:23:02 UTC) #29
Benedikt Meurer
LGTM once nit is addressed. https://codereview.chromium.org/2315343002/diff/160001/src/builtins/builtins.h File src/builtins/builtins.h (right): https://codereview.chromium.org/2315343002/diff/160001/src/builtins/builtins.h#newcode537 src/builtins/builtins.h:537: /* ECMA-262 v6, section ...
4 years, 3 months ago (2016-09-09 16:36:06 UTC) #30
Franzi
LGTM
4 years, 3 months ago (2016-09-12 05:49:55 UTC) #31
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/2315343002/180001
4 years, 3 months ago (2016-09-12 07:48:59 UTC) #34
commit-bot: I haz the power
Committed patchset #10 (id:180001)
4 years, 3 months ago (2016-09-12 08:31:29 UTC) #35
commit-bot: I haz the power
Patchset 10 (id:??) landed as https://crrev.com/7f84a6a2e7000bebba49354b4648346ff606ca34 Cr-Commit-Position: refs/heads/master@{#39331}
4 years, 3 months ago (2016-09-12 08:32:09 UTC) #37
petermarshall
A revert of this CL (patchset #10 id:180001) has been created in https://codereview.chromium.org/2335553002/ by petermarshall@chromium.org. ...
4 years, 3 months ago (2016-09-12 08:33:04 UTC) #38
Michael Achenbach
Hint: if you suspect a CL might break something that's not on CQ by default, ...
4 years, 3 months ago (2016-09-12 09:05:44 UTC) #42
petermarshall
On 2016/09/12 at 09:05:44, machenbach wrote: > Hint: if you suspect a CL might break ...
4 years, 3 months ago (2016-09-12 09:07:41 UTC) #44
petermarshall
PTAL, missed a bug in the last change because the i18n bot didn't run, it's ...
4 years, 3 months ago (2016-09-12 09:59:14 UTC) #48
Michael Achenbach
nit: Please add another linebreak after the commit title.
4 years, 3 months ago (2016-09-12 10:05:00 UTC) #49
petermarshall
On 2016/09/12 at 10:05:00, machenbach wrote: > nit: Please add another linebreak after the commit ...
4 years, 3 months ago (2016-09-12 10:28:11 UTC) #51
Franzi
lgtm
4 years, 3 months ago (2016-09-12 10:35:33 UTC) #52
Benedikt Meurer
LGTM
4 years, 3 months ago (2016-09-12 10:37:16 UTC) #53
Michael Achenbach
lgtm
4 years, 3 months ago (2016-09-12 10:39:41 UTC) #54
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/2315343002/200001
4 years, 3 months ago (2016-09-12 10:46:21 UTC) #56
commit-bot: I haz the power
Committed patchset #11 (id:200001)
4 years, 3 months ago (2016-09-12 10:53:41 UTC) #57
commit-bot: I haz the power
4 years, 3 months ago (2016-09-12 10:54:35 UTC) #59
Message was sent while issue was closed.
Patchset 11 (id:??) landed as
https://crrev.com/e7b7ba8edd9cccd963940ac4b3e03b1e639a6418
Cr-Commit-Position: refs/heads/master@{#39342}

Powered by Google App Engine
This is Rietveld 408576698