Index: src/compiler/representation-change.cc |
diff --git a/src/compiler/representation-change.cc b/src/compiler/representation-change.cc |
index 22d809b9d676492149d604336de71549576db2e0..6aa2f133a2be0ff3935ed216e5ca1f8aeb2952e8 100644 |
--- a/src/compiler/representation-change.cc |
+++ b/src/compiler/representation-change.cc |
@@ -587,7 +587,7 @@ Node* RepresentationChanger::GetWord32RepresentationFor( |
use_info.type_check() == TypeCheckKind::kSigned32) { |
op = simplified()->CheckedFloat64ToInt32( |
output_type->Maybe(Type::MinusZero()) |
- ? CheckForMinusZeroMode::kCheckForMinusZero |
+ ? use_info.minus_zero_check() |
: CheckForMinusZeroMode::kDontCheckForMinusZero); |
} |
} else if (output_rep == MachineRepresentation::kFloat32) { |