[turbofan] Remove unused word32 truncation case for CheckFloat64Hole.

BUG=chromium:684208,chromium:709753,v8:5267
R=jarin@chromium.org

Review-Url: https://codereview.chromium.org/2811153003
Cr-Commit-Position: refs/heads/master@{#44608}
This commit is contained in:
bmeurer 2017-04-12 04:27:21 -07:00 committed by Commit bot
parent 5f90a6eb06
commit 2eeb085427

View File

@ -2700,11 +2700,7 @@ class RepresentationSelector {
switch (mode) {
case CheckFloat64HoleMode::kAllowReturnHole:
if (truncation.IsUnused()) return VisitUnused(node);
if (truncation.IsUsedAsWord32()) {
VisitUnop(node, UseInfo::TruncatingWord32(),
MachineRepresentation::kWord32);
if (lower()) DeferReplacement(node, node->InputAt(0));
} else if (truncation.IsUsedAsFloat64()) {
if (truncation.IsUsedAsFloat64()) {
VisitUnop(node, UseInfo::TruncatingFloat64(),
MachineRepresentation::kFloat64);
if (lower()) DeferReplacement(node, node->InputAt(0));