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

Issue 2339123002: [builtins] Move StringLastIndexOf to a builtin. (Closed)

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

Description

[builtins] Move StringLastIndexOf to a builtin. BUG=v8:5364 Committed: https://crrev.com/95cc98c99ce95d061a7c27f9b6a45177173f0945 Cr-Commit-Position: refs/heads/master@{#39498}

Patch Set 1 #

Patch Set 2 : Get rid of the runtime function and shove everything in the builtin #

Patch Set 3 : variable renaming #

Total comments: 14

Patch Set 4 : Add the runtime function back in #

Patch Set 5 : Test natives callable from extensions with str compare instead #

Total comments: 2

Patch Set 6 : Change test back because we have a runtime function again now #

Patch Set 7 : Variable renaming to make things a bit clearer #

Unified diffs Side-by-side diffs Delta from patch set Stats (+137 lines, -126 lines) Patch
M src/bootstrapper.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M src/builtins/builtins.h View 1 chunk +3 lines, -0 lines 0 comments Download
M src/builtins/builtins-string.cc View 1 2 3 1 chunk +9 lines, -0 lines 0 comments Download
M src/js/i18n.js View 1 2 3 4 chunks +2 lines, -4 lines 0 comments Download
M src/js/string.js View 3 chunks +0 lines, -30 lines 0 comments Download
M src/objects.h View 1 2 3 4 5 6 1 chunk +3 lines, -0 lines 0 comments Download
M src/objects.cc View 1 2 3 4 5 6 1 chunk +112 lines, -0 lines 0 comments Download
M src/runtime/runtime.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M src/runtime/runtime-strings.cc View 1 2 3 1 chunk +3 lines, -87 lines 0 comments Download
M test/cctest/test-api.cc View 1 2 3 4 5 2 chunks +2 lines, -4 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 36 (22 generated)
petermarshall
4 years, 3 months ago (2016-09-14 14:53:21 UTC) #8
Franzi
Very nice! Do we have an issue for that? Either v8:5364 or you can create ...
4 years, 3 months ago (2016-09-14 15:05:01 UTC) #9
Benedikt Meurer
https://codereview.chromium.org/2339123002/diff/40001/src/builtins/builtins-string.cc File src/builtins/builtins-string.cc (right): https://codereview.chromium.org/2339123002/diff/40001/src/builtins/builtins-string.cc#newcode480 src/builtins/builtins-string.cc:480: template <typename schar, typename pchar> Yes, please remove the ...
4 years, 3 months ago (2016-09-14 17:02:32 UTC) #10
petermarshall
On 2016/09/14 at 15:05:01, franzih wrote: > Very nice! Do we have an issue for ...
4 years, 3 months ago (2016-09-15 12:16:43 UTC) #11
petermarshall
https://codereview.chromium.org/2339123002/diff/40001/src/builtins/builtins-string.cc File src/builtins/builtins-string.cc (right): https://codereview.chromium.org/2339123002/diff/40001/src/builtins/builtins-string.cc#newcode480 src/builtins/builtins-string.cc:480: template <typename schar, typename pchar> On 2016/09/14 at 15:05:01, ...
4 years, 3 months ago (2016-09-15 12:19:59 UTC) #14
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/2339123002/80001
4 years, 3 months ago (2016-09-15 12:20:05 UTC) #15
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-15 12:20:06 UTC) #17
Franzi
LGTM with nits. https://codereview.chromium.org/2339123002/diff/80001/src/objects.cc File src/objects.cc (right): https://codereview.chromium.org/2339123002/diff/80001/src/objects.cc#newcode11684 src/objects.cc:11684: Handle<String> sub; Can we use a ...
4 years, 3 months ago (2016-09-19 08:04:22 UTC) #26
petermarshall
On 2016/09/19 at 08:04:22, franzih wrote: > LGTM with nits. > > https://codereview.chromium.org/2339123002/diff/80001/src/objects.cc > File ...
4 years, 3 months ago (2016-09-19 09:18:21 UTC) #28
petermarshall
Benedikt, do you have any further suggestions?
4 years, 3 months ago (2016-09-19 09:21:09 UTC) #29
Benedikt Meurer
LGTM, thanks.
4 years, 3 months ago (2016-09-19 09:49:42 UTC) #30
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/2339123002/120001
4 years, 3 months ago (2016-09-19 09:52:11 UTC) #33
commit-bot: I haz the power
Committed patchset #7 (id:120001)
4 years, 3 months ago (2016-09-19 10:22:37 UTC) #34
commit-bot: I haz the power
4 years, 3 months ago (2016-09-19 10:23:03 UTC) #36
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/95cc98c99ce95d061a7c27f9b6a45177173f0945
Cr-Commit-Position: refs/heads/master@{#39498}

Powered by Google App Engine
This is Rietveld 408576698