Index: src/compiler/representation-change.cc |
diff --git a/src/compiler/representation-change.cc b/src/compiler/representation-change.cc |
index 97a2a37d59d6644e544e44385391ccb87e644392..22d809b9d676492149d604336de71549576db2e0 100644 |
--- a/src/compiler/representation-change.cc |
+++ b/src/compiler/representation-change.cc |
@@ -366,10 +366,7 @@ Node* RepresentationChanger::GetTaggedRepresentationFor( |
} else if (output_rep == |
MachineRepresentation::kFloat32) { // float32 -> float64 -> tagged |
node = InsertChangeFloat32ToFloat64(node); |
- op = simplified()->ChangeFloat64ToTagged( |
- output_type->Maybe(Type::MinusZero()) |
- ? CheckForMinusZeroMode::kCheckForMinusZero |
- : CheckForMinusZeroMode::kDontCheckForMinusZero); |
+ op = simplified()->ChangeFloat64ToTagged(); |
} else if (output_rep == MachineRepresentation::kFloat64) { |
if (output_type->Is(Type::Signed31())) { // float64 -> int32 -> tagged |
node = InsertChangeFloat64ToInt32(node); |
@@ -383,10 +380,7 @@ Node* RepresentationChanger::GetTaggedRepresentationFor( |
node = InsertChangeFloat64ToUint32(node); |
op = simplified()->ChangeUint32ToTagged(); |
} else { |
- op = simplified()->ChangeFloat64ToTagged( |
- output_type->Maybe(Type::MinusZero()) |
- ? CheckForMinusZeroMode::kCheckForMinusZero |
- : CheckForMinusZeroMode::kDontCheckForMinusZero); |
+ op = simplified()->ChangeFloat64ToTagged(); |
} |
} else { |
return TypeError(node, output_rep, output_type, |