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

Issue 2657243002: [turbofan] Introduce dedicated StringIndexOf operator. (Closed)

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

Description

[turbofan] Introduce dedicated StringIndexOf operator. The StringIndexOf operation is pure on the JS level, but the actual stub call must be in the effect chain later so that the Scheduler doesn't place it inside some allocation region (The %StringIndexOf runtime function may trigger a GC for string flattening). BUG=chromium:685680 R=jarin@chromium.org Review-Url: https://codereview.chromium.org/2657243002 Cr-Commit-Position: refs/heads/master@{#42736} Committed: https://chromium.googlesource.com/v8/v8/+/b975441e77a0bf47d7ed361ca37a431e0cfb2f38

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+80 lines, -36 lines) Patch
M src/builtins/builtins-string.cc View 1 chunk +0 lines, -2 lines 0 comments Download
M src/compiler/effect-control-linearizer.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/compiler/effect-control-linearizer.cc View 2 chunks +17 lines, -0 lines 0 comments Download
M src/compiler/escape-analysis.cc View 1 chunk +1 line, -0 lines 0 comments Download
M src/compiler/js-builtin-reducer.cc View 1 chunk +22 lines, -32 lines 0 comments Download
M src/compiler/opcodes.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/compiler/simplified-lowering.cc View 1 chunk +7 lines, -0 lines 0 comments Download
M src/compiler/simplified-operator.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/compiler/simplified-operator.cc View 1 chunk +1 line, -0 lines 0 comments Download
M src/compiler/typer.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M src/compiler/verifier.cc View 1 chunk +10 lines, -2 lines 0 comments Download
A test/mjsunit/regress/regress-crbug-685680.js View 1 chunk +15 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (8 generated)
Benedikt Meurer
3 years, 10 months ago (2017-01-27 11:29:16 UTC) #1
Jarin
lgtm
3 years, 10 months ago (2017-01-27 11:33:06 UTC) #4
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/2657243002/1
3 years, 10 months ago (2017-01-27 11:35:41 UTC) #7
commit-bot: I haz the power
Committed patchset #1 (id:1) as https://chromium.googlesource.com/v8/v8/+/b975441e77a0bf47d7ed361ca37a431e0cfb2f38
3 years, 10 months ago (2017-01-27 12:02:48 UTC) #10
falken
Is BUG=chromium:685680 correct?
3 years, 10 months ago (2017-02-07 02:24:43 UTC) #13
Benedikt Meurer
On 2017/02/07 02:24:43, falken wrote: > Is BUG=chromium:685680 correct? No it was a typo.
3 years, 10 months ago (2017-02-07 03:05:00 UTC) #14
falken
On 2017/02/07 03:05:00, Benedikt Meurer wrote: > On 2017/02/07 02:24:43, falken wrote: > > Is ...
3 years, 10 months ago (2017-02-07 04:14:52 UTC) #15
Benedikt Meurer
3 years, 10 months ago (2017-02-07 05:00:05 UTC) #16
Message was sent while issue was closed.
On 2017/02/07 04:14:52, falken wrote:
> On 2017/02/07 03:05:00, Benedikt Meurer wrote:
> > On 2017/02/07 02:24:43, falken wrote:
> > > Is BUG=chromium:685680 correct?
> > 
> > No it was a typo.
> 
> Note for the historical record: the commit landed with BUG=chromium:685580 but
> it should really be BUG=chromium:685680 (as in the current CL description).

Ah, right, sorry. Thanks for fixing.

Powered by Google App Engine
This is Rietveld 408576698