| Index: src/x64/lithium-codegen-x64.cc
|
| diff --git a/src/x64/lithium-codegen-x64.cc b/src/x64/lithium-codegen-x64.cc
|
| index 51acede259a4efd3f2cd6a23f13ca71fe0311552..f350b07d5bfc64ea2acb0330bcb8569eefdfeaa8 100644
|
| --- a/src/x64/lithium-codegen-x64.cc
|
| +++ b/src/x64/lithium-codegen-x64.cc
|
| @@ -1004,7 +1004,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)) {
|
| __ testl(dividend, dividend);
|
| __ j(not_sign, ÷nd_is_not_negative, Label::kNear);
|
| // Note that this is correct even for kMinInt operands.
|
|
|