| Index: src/ia32/lithium-codegen-ia32.cc
|
| diff --git a/src/ia32/lithium-codegen-ia32.cc b/src/ia32/lithium-codegen-ia32.cc
|
| index addac8186dda20e5a4c6bbc4d2e9e46cf7209b49..f85ab3d601ea36adaf1c61b3c9e082e66025a150 100644
|
| --- a/src/ia32/lithium-codegen-ia32.cc
|
| +++ b/src/ia32/lithium-codegen-ia32.cc
|
| @@ -1385,7 +1385,7 @@ void LCodeGen::DoModByPowerOf2I(LModByPowerOf2I* instr) {
|
| HMod* hmod = instr->hydrogen();
|
| int32_t mask = divisor < 0 ? -(divisor + 1) : (divisor - 1);
|
| Label dividend_is_not_negative, done;
|
| - if (hmod->left()->CanBeNegative()) {
|
| + if (hmod->CheckFlag(HValue::kLeftCanBeNegative)) {
|
| __ test(dividend, dividend);
|
| __ j(not_sign, ÷nd_is_not_negative, Label::kNear);
|
| // Note that this is correct even for kMinInt operands.
|
|
|