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

Issue 2373493002: [stubs] Port String.prototype.substr to TurboFan (Closed)

Created:
4 years, 2 months ago by jgruber
Modified:
4 years, 2 months ago
Reviewers:
Igor Sheludko
CC:
v8-reviews_googlegroups.com, Benedikt Meurer, Yang
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[stubs] Port String.prototype.substr to TurboFan BUG=v8:5415 Committed: https://crrev.com/7d26871d2d0109393b8a53e1a239ca028fe6f0f2 Cr-Commit-Position: refs/heads/master@{#39951}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Address comments #

Total comments: 4

Patch Set 3 : Add test and address comments #

Patch Set 4 : Additional tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+182 lines, -19 lines) Patch
M src/bootstrapper.cc View 1 1 chunk +2 lines, -0 lines 0 comments Download
M src/builtins/builtins.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M src/builtins/builtins-string.cc View 1 2 1 chunk +123 lines, -0 lines 0 comments Download
M src/js/i18n.js View 2 chunks +1 line, -2 lines 0 comments Download
M src/js/string.js View 3 chunks +0 lines, -17 lines 0 comments Download
M test/mjsunit/substr.js View 1 2 3 1 chunk +54 lines, -0 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 26 (17 generated)
jgruber
4 years, 2 months ago (2016-09-26 12:46:14 UTC) #4
Igor Sheludko
https://codereview.chromium.org/2373493002/diff/1/src/builtins/builtins-string.cc File src/builtins/builtins-string.cc (right): https://codereview.chromium.org/2373493002/diff/1/src/builtins/builtins-string.cc#newcode625 src/builtins/builtins-string.cc:625: Node* result = a->CallRuntime(Runtime::kThrowIllegalOperation, context); String.prototype.substr should not throw. ...
4 years, 2 months ago (2016-09-27 12:15:06 UTC) #7
jgruber
https://codereview.chromium.org/2373493002/diff/1/src/builtins/builtins-string.cc File src/builtins/builtins-string.cc (right): https://codereview.chromium.org/2373493002/diff/1/src/builtins/builtins-string.cc#newcode625 src/builtins/builtins-string.cc:625: Node* result = a->CallRuntime(Runtime::kThrowIllegalOperation, context); On 2016/09/27 12:15:06, Igor ...
4 years, 2 months ago (2016-09-29 07:48:49 UTC) #10
Igor Sheludko
https://codereview.chromium.org/2373493002/diff/20001/src/builtins/builtins-string.cc File src/builtins/builtins-string.cc (right): https://codereview.chromium.org/2373493002/diff/20001/src/builtins/builtins-string.cc#newcode918 src/builtins/builtins-string.cc:918: var_start.Bind(string_length); I think if the start index is < ...
4 years, 2 months ago (2016-09-29 10:59:45 UTC) #13
jgruber
Arrgh! Sorry about this, and thanks for being so thorough. Comments addressed, and added a ...
4 years, 2 months ago (2016-09-29 12:13:44 UTC) #16
Igor Sheludko
lgtm
4 years, 2 months ago (2016-10-04 11:30:28 UTC) #21
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/2373493002/60001
4 years, 2 months ago (2016-10-04 11:31:10 UTC) #23
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 2 months ago (2016-10-04 12:00:21 UTC) #24
commit-bot: I haz the power
4 years, 2 months ago (2016-10-04 12:00:38 UTC) #26
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/7d26871d2d0109393b8a53e1a239ca028fe6f0f2
Cr-Commit-Position: refs/heads/master@{#39951}

Powered by Google App Engine
This is Rietveld 408576698