| Index: src/hydrogen-instructions.cc
|
| diff --git a/src/hydrogen-instructions.cc b/src/hydrogen-instructions.cc
|
| index 4f918b3c9cd190006b003ffc023a7ecceb154e2d..e7ad219964b3946b35e81dbd76011d7e8ff2133f 100644
|
| --- a/src/hydrogen-instructions.cc
|
| +++ b/src/hydrogen-instructions.cc
|
| @@ -1776,10 +1776,7 @@ Range* HDiv::InferRange(Zone* zone) {
|
| result->set_can_be_minus_zero(!CheckFlag(kAllUsesTruncatingToInt32) &&
|
| (a->CanBeMinusZero() ||
|
| (a->CanBeZero() && b->CanBeNegative())));
|
| - if (!a->Includes(kMinInt) ||
|
| - !b->Includes(-1) ||
|
| - CheckFlag(kAllUsesTruncatingToInt32)) {
|
| - // It is safe to clear kCanOverflow when kAllUsesTruncatingToInt32.
|
| + if (!a->Includes(kMinInt) || !b->Includes(-1)) {
|
| ClearFlag(HValue::kCanOverflow);
|
| }
|
|
|
|
|