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

Issue 2066223002: [turbofan] Introduce CheckHole and CheckHoleNaN operators. (Closed)

Created:
4 years, 6 months ago by Benedikt Meurer
Modified:
4 years, 6 months ago
Reviewers:
Jarin
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] Introduce CheckHole and CheckHoleNaN operators. These simplified operators are used to perform the hole checks when loading elements from a holey array. Depending on the CheckHoleMode, they either return the hole as undefined or some NaN, or deoptimize if the value is the hole or the hole NaN. R=jarin@chromium.org Committed: https://crrev.com/502dd40c3307aaa60ee24251f13c9d36e11923a8 Cr-Commit-Position: refs/heads/master@{#37001}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Address comments. Blacklist test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+242 lines, -114 lines) Patch
M src/compiler/effect-control-linearizer.h View 1 1 chunk +4 lines, -0 lines 0 comments Download
M src/compiler/effect-control-linearizer.cc View 1 2 chunks +51 lines, -0 lines 0 comments Download
M src/compiler/js-native-context-specialization.cc View 1 3 chunks +20 lines, -34 lines 0 comments Download
M src/compiler/opcodes.h View 1 2 chunks +2 lines, -2 lines 0 comments Download
M src/compiler/simplified-lowering.cc View 1 2 chunks +17 lines, -51 lines 0 comments Download
M src/compiler/simplified-operator.h View 1 3 chunks +24 lines, -2 lines 0 comments Download
M src/compiler/simplified-operator.cc View 1 4 chunks +89 lines, -2 lines 0 comments Download
M src/compiler/typer.cc View 1 4 chunks +23 lines, -13 lines 0 comments Download
M src/compiler/verifier.cc View 1 2 chunks +9 lines, -10 lines 0 comments Download
M src/types.h View 1 chunk +1 line, -0 lines 0 comments Download
M test/mjsunit/mjsunit.status View 1 1 chunk +2 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 14 (5 generated)
Benedikt Meurer
4 years, 6 months ago (2016-06-15 10:56:04 UTC) #1
Benedikt Meurer
Hey Jaro, Here's the hole check thing. Please take a look. Thanks, Benedikt
4 years, 6 months ago (2016-06-15 10:56:39 UTC) #2
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2066223002/1
4 years, 6 months ago (2016-06-15 11:00:27 UTC) #4
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: v8_win_nosnap_shared_rel_ng on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_win_nosnap_shared_rel_ng/builds/3294) v8_win_nosnap_shared_rel_ng_triggered on ...
4 years, 6 months ago (2016-06-15 11:15:32 UTC) #6
Jarin
lgtm. https://codereview.chromium.org/2066223002/diff/1/src/compiler/effect-control-linearizer.cc File src/compiler/effect-control-linearizer.cc (right): https://codereview.chromium.org/2066223002/diff/1/src/compiler/effect-control-linearizer.cc#newcode1312 src/compiler/effect-control-linearizer.cc:1312: case CheckHoleMode::kAllowReturnHole: This is confusing - it does ...
4 years, 6 months ago (2016-06-15 11:18:43 UTC) #7
Benedikt Meurer
https://codereview.chromium.org/2066223002/diff/1/src/compiler/effect-control-linearizer.cc File src/compiler/effect-control-linearizer.cc (right): https://codereview.chromium.org/2066223002/diff/1/src/compiler/effect-control-linearizer.cc#newcode1312 src/compiler/effect-control-linearizer.cc:1312: case CheckHoleMode::kAllowReturnHole: On 2016/06/15 11:18:43, Jarin wrote: > This ...
4 years, 6 months ago (2016-06-15 11:39:09 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2066223002/20001
4 years, 6 months ago (2016-06-15 11:50:27 UTC) #11
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 6 months ago (2016-06-15 12:24:16 UTC) #12
commit-bot: I haz the power
4 years, 6 months ago (2016-06-15 12:25:39 UTC) #14
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/502dd40c3307aaa60ee24251f13c9d36e11923a8
Cr-Commit-Position: refs/heads/master@{#37001}

Powered by Google App Engine
This is Rietveld 408576698