Index: src/a64/lithium-codegen-a64.cc |
diff --git a/src/a64/lithium-codegen-a64.cc b/src/a64/lithium-codegen-a64.cc |
index 651f5796704fd73daa48736d2b5715fb551efff2..4766fa55fd078d3ad2d902732094fec8dc38cc0e 100644 |
--- a/src/a64/lithium-codegen-a64.cc |
+++ b/src/a64/lithium-codegen-a64.cc |
@@ -4134,7 +4134,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, 0); |
__ B(pl, ÷nd_is_not_negative); |
// Note that this is correct even for kMinInt operands. |