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

Issue 1428243003: [turbofan] Add support for relevant ES6 type conversion intrinsics. (Closed)

Created:
5 years, 1 month ago by Benedikt Meurer
Modified:
5 years, 1 month 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

[turbofan] Add support for relevant ES6 type conversion intrinsics. TurboFan didn't fully support the relevant ES6 type conversion intrinsics like %_ToNumber, %_ToLength, %_ToName, %_ToString and %_ToInteger until now, we always went to the runtime instead. These intrinsics are now well supported in TurboFan, and we are even able to generate quite decent code in some cases. R=jarin@chromium.org Committed: https://crrev.com/8d780560bdf9fba46dfa2ac9e508b9c131cbad69 Cr-Commit-Position: refs/heads/master@{#31820}

Patch Set 1 : Fixes #

Total comments: 3

Patch Set 2 : Address comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+235 lines, -30 lines) Patch
M src/compiler/js-intrinsic-lowering.h View 3 chunks +14 lines, -0 lines 0 comments Download
M src/compiler/js-intrinsic-lowering.cc View 1 5 chunks +105 lines, -1 line 0 comments Download
M src/compiler/js-typed-lowering.cc View 3 chunks +6 lines, -16 lines 0 comments Download
M src/compiler/operator-properties.cc View 1 chunk +3 lines, -2 lines 0 comments Download
M src/compiler/typer.cc View 1 7 chunks +73 lines, -5 lines 0 comments Download
M src/heap/heap.h View 2 chunks +2 lines, -0 lines 0 comments Download
M src/type-cache.h View 1 1 chunk +7 lines, -1 line 0 comments Download
M test/cctest/compiler/test-js-typed-lowering.cc View 2 chunks +4 lines, -4 lines 0 comments Download
M test/unittests/compiler/js-operator-unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M test/unittests/compiler/js-typed-lowering-unittest.cc View 1 chunk +20 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (5 generated)
Benedikt Meurer
5 years, 1 month ago (2015-11-05 08:04:55 UTC) #1
Benedikt Meurer
Hey Jaro, This CL adds support for the type conversion intrinsics that we are currently ...
5 years, 1 month ago (2015-11-05 08:06:34 UTC) #2
Michael Starzinger
LGTM (rubber-stamped "heap", didn't look at the rest).
5 years, 1 month ago (2015-11-05 09:10:46 UTC) #6
Jarin
lgtm with nits. https://codereview.chromium.org/1428243003/diff/40001/src/compiler/js-intrinsic-lowering.cc File src/compiler/js-intrinsic-lowering.cc (right): https://codereview.chromium.org/1428243003/diff/40001/src/compiler/js-intrinsic-lowering.cc#newcode583 src/compiler/js-intrinsic-lowering.cc:583: NodeProperties::SetType(value, value_type); Ouch. I am wondering ...
5 years, 1 month ago (2015-11-05 09:25:30 UTC) #7
Benedikt Meurer
https://codereview.chromium.org/1428243003/diff/40001/src/type-cache.h File src/type-cache.h (right): https://codereview.chromium.org/1428243003/diff/40001/src/type-cache.h#newcode50 src/type-cache.h:50: Type* const kIntegerish = Type::Union(kInteger, Type::MinusZero(), zone()); On 2015/11/05 ...
5 years, 1 month ago (2015-11-05 09:30:05 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1428243003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1428243003/60001
5 years, 1 month ago (2015-11-05 09:30:18 UTC) #11
commit-bot: I haz the power
Committed patchset #2 (id:60001)
5 years, 1 month ago (2015-11-05 09:51:01 UTC) #12
commit-bot: I haz the power
5 years, 1 month ago (2015-11-05 09:51:41 UTC) #13
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/8d780560bdf9fba46dfa2ac9e508b9c131cbad69
Cr-Commit-Position: refs/heads/master@{#31820}

Powered by Google App Engine
This is Rietveld 408576698