Index: src/arm64/lithium-codegen-arm64.cc |
diff --git a/src/arm64/lithium-codegen-arm64.cc b/src/arm64/lithium-codegen-arm64.cc |
index bea79ba58d78aee3c88efde99d0a8e3dc31ff22f..89a5e5dc3a525c19e751cea8953fd8effecc87ab 100644 |
--- a/src/arm64/lithium-codegen-arm64.cc |
+++ b/src/arm64/lithium-codegen-arm64.cc |
@@ -2636,7 +2636,7 @@ void LCodeGen::DoDivByPowerOf2I(LDivByPowerOf2I* instr) { |
Register dividend = ToRegister32(instr->dividend()); |
int32_t divisor = instr->divisor(); |
Register result = ToRegister32(instr->result()); |
- ASSERT(divisor == kMinInt || (divisor != 0 && IsPowerOf2(Abs(divisor)))); |
+ ASSERT(divisor == kMinInt || IsPowerOf2(Abs(divisor))); |
ASSERT(!result.is(dividend)); |
// Check for (0 / -x) that will produce negative zero. |