| Index: src/arm/lithium-codegen-arm.cc
|
| diff --git a/src/arm/lithium-codegen-arm.cc b/src/arm/lithium-codegen-arm.cc
|
| index 2b6c0a8407e79df676f5ff667ffc4309afa65ea1..49b7a334e8ba744f84313c44f68c2857cc3e9ce4 100644
|
| --- a/src/arm/lithium-codegen-arm.cc
|
| +++ b/src/arm/lithium-codegen-arm.cc
|
| @@ -1131,7 +1131,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)) {
|
| __ cmp(dividend, Operand::Zero());
|
| __ b(pl, ÷nd_is_not_negative);
|
| // Note that this is correct even for kMinInt operands.
|
|
|