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

Issue 1412963002: [runtime] Implement %_ToLength via ToLengthStub. (Closed)

Created:
5 years, 2 months ago by Benedikt Meurer
Modified:
5 years, 2 months ago
CC:
v8-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[runtime] Implement %_ToLength via ToLengthStub. Use %_ToLength for TO_LENGTH, implemented via a ToLengthStub that supports a fast path for small integers. Everything else is still handled in the runtime. CQ_INCLUDE_TRYBOTS=tryserver.v8:v8_linux_nosnap_rel BUG=v8:4494 LOG=n Committed: https://crrev.com/e678a0f9a961165ab43cd1a6080fcb11995b701a Cr-Commit-Position: refs/heads/master@{#31358}

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+335 lines, -1 line) Patch
M src/arm/code-stubs-arm.cc View 1 chunk +15 lines, -0 lines 0 comments Download
M src/arm/interface-descriptors-arm.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M src/arm64/code-stubs-arm64.cc View 1 chunk +15 lines, -0 lines 0 comments Download
M src/arm64/interface-descriptors-arm64.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M src/code-factory.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/code-factory.cc View 1 chunk +7 lines, -0 lines 0 comments Download
M src/code-stubs.h View 2 chunks +10 lines, -0 lines 0 comments Download
M src/full-codegen/arm/full-codegen-arm.cc View 1 chunk +13 lines, -0 lines 2 comments Download
M src/full-codegen/arm64/full-codegen-arm64.cc View 1 chunk +13 lines, -0 lines 0 comments Download
M src/full-codegen/full-codegen.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/full-codegen/ia32/full-codegen-ia32.cc View 1 chunk +13 lines, -0 lines 0 comments Download
M src/full-codegen/mips/full-codegen-mips.cc View 1 chunk +14 lines, -0 lines 0 comments Download
M src/full-codegen/mips64/full-codegen-mips64.cc View 1 chunk +14 lines, -0 lines 0 comments Download
M src/full-codegen/x64/full-codegen-x64.cc View 1 chunk +13 lines, -0 lines 0 comments Download
M src/hydrogen.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/hydrogen.cc View 1 chunk +14 lines, -0 lines 0 comments Download
M src/ia32/code-stubs-ia32.cc View 1 chunk +19 lines, -0 lines 0 comments Download
M src/ia32/interface-descriptors-ia32.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M src/interface-descriptors.h View 2 chunks +11 lines, -0 lines 0 comments Download
M src/interface-descriptors.cc View 1 chunk +7 lines, -0 lines 0 comments Download
M src/js/macros.py View 1 chunk +1 line, -1 line 0 comments Download
M src/mips/code-stubs-mips.cc View 1 chunk +17 lines, -0 lines 0 comments Download
M src/mips/interface-descriptors-mips.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M src/mips64/code-stubs-mips64.cc View 1 chunk +17 lines, -0 lines 0 comments Download
M src/mips64/interface-descriptors-mips64.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M src/x64/code-stubs-x64.cc View 1 chunk +19 lines, -0 lines 0 comments Download
M src/x64/interface-descriptors-x64.cc View 1 chunk +4 lines, -0 lines 0 comments Download
A test/mjsunit/harmony/to-length.js View 1 chunk +76 lines, -0 lines 0 comments Download

Messages

Total messages: 34 (18 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1412963002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1412963002/120001
5 years, 2 months ago (2015-10-18 17:31:56 UTC) #8
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1412963002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1412963002/120001
5 years, 2 months ago (2015-10-18 17:32:42 UTC) #11
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: v8_linux_nosnap_rel on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux_nosnap_rel/builds/1650)
5 years, 2 months ago (2015-10-18 18:46:46 UTC) #13
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1412963002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1412963002/140001
5 years, 2 months ago (2015-10-19 04:06:09 UTC) #16
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1412963002/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1412963002/160001
5 years, 2 months ago (2015-10-19 04:20:10 UTC) #19
Benedikt Meurer
Jaro: PTAL Dan: FYI
5 years, 2 months ago (2015-10-19 04:20:49 UTC) #21
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 2 months ago (2015-10-19 04:57:32 UTC) #23
Jarin
That's an awful lot of platform specific code for what it tries to do. If ...
5 years, 2 months ago (2015-10-19 06:50:16 UTC) #25
Benedikt Meurer
> https://codereview.chromium.org/1412963002/diff/160001/src/full-codegen/arm/full-codegen-arm.cc#newcode3809 > src/full-codegen/arm/full-codegen-arm.cc:3809: context()->Plug(r0); > I see nearly the same code in EmitToString, EmitToNumber ...
5 years, 2 months ago (2015-10-19 07:08:13 UTC) #26
Jarin
On 2015/10/19 07:08:13, Benedikt Meurer wrote: > > > https://codereview.chromium.org/1412963002/diff/160001/src/full-codegen/arm/full-codegen-arm.cc#newcode3809 > > src/full-codegen/arm/full-codegen-arm.cc:3809: context()->Plug(r0); > ...
5 years, 2 months ago (2015-10-19 07:10:26 UTC) #27
Benedikt Meurer
On 2015/10/19 07:10:26, Jarin wrote: > On 2015/10/19 07:08:13, Benedikt Meurer wrote: > > > ...
5 years, 2 months ago (2015-10-19 07:15:34 UTC) #28
Dan Ehrenberg
lgtm At a high level, looks good to me, that this should hopefully solve the ...
5 years, 2 months ago (2015-10-19 07:39:52 UTC) #29
Michael Starzinger
LGTM, as much as it hurts to see a new architecture-specific stub being added, I ...
5 years, 2 months ago (2015-10-19 08:21:08 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1412963002/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1412963002/160001
5 years, 2 months ago (2015-10-19 08:33:45 UTC) #32
commit-bot: I haz the power
Committed patchset #1 (id:160001)
5 years, 2 months ago (2015-10-19 08:35:05 UTC) #33
commit-bot: I haz the power
5 years, 2 months ago (2015-10-19 08:35:27 UTC) #34
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/e678a0f9a961165ab43cd1a6080fcb11995b701a
Cr-Commit-Position: refs/heads/master@{#31358}

Powered by Google App Engine
This is Rietveld 408576698