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

Issue 2874423003: [csa] Add ToLength and ToString variants with inlined fast checks (Closed)

Created:
3 years, 7 months ago by jgruber
Modified:
3 years, 7 months ago
Reviewers:
Camillo Bruni
CC:
v8-reviews_googlegroups.com
Target Ref:
refs/heads/master
Project:
v8
Visibility:
Public.

Description

[csa] Add ToLength and ToString variants with inlined fast checks Smis can easily be handled outside the stub call without adding much to code size. The ToString inlining adds overhead of repeated instance type loads and checks, but under the assumption that it is called with mostly string values it should speed things up (a local RegExp.p[@@replace] microbenchmark shows consistent 1.6% improvements). Drive-by-fix: Remove duplication in ToString implementations. BUG= Review-Url: https://codereview.chromium.org/2874423003 Cr-Commit-Position: refs/heads/master@{#45287} Committed: https://chromium.googlesource.com/v8/v8/+/646fdacaa790fa29f0a7224a513c6514ecb9f627

Patch Set 1 #

Patch Set 2 : ToString #

Unified diffs Side-by-side diffs Delta from patch set Stats (+46 lines, -57 lines) Patch
M src/builtins/builtins-array-gen.cc View 2 chunks +2 lines, -4 lines 0 comments Download
M src/builtins/builtins-conversion-gen.cc View 1 1 chunk +1 line, -29 lines 0 comments Download
M src/builtins/builtins-regexp-gen.cc View 1 4 chunks +4 lines, -6 lines 0 comments Download
M src/builtins/builtins-string-gen.cc View 1 8 chunks +10 lines, -18 lines 0 comments Download
M src/code-stub-assembler.h View 1 2 chunks +4 lines, -0 lines 0 comments Download
M src/code-stub-assembler.cc View 1 2 chunks +25 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (14 generated)
Camillo Bruni
lgtm
3 years, 7 months ago (2017-05-15 07:08:01 UTC) #12
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/2874423003/20001
3 years, 7 months ago (2017-05-15 07:14:10 UTC) #14
commit-bot: I haz the power
3 years, 7 months ago (2017-05-15 07:51:23 UTC) #17
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/v8/v8/+/646fdacaa790fa29f0a7224a513c6514ecb...

Powered by Google App Engine
This is Rietveld 408576698