diff --git a/src/mips/lithium-codegen-mips.cc b/src/mips/lithium-codegen-mips.cc index 34e601ccaa..e009016800 100644 --- a/src/mips/lithium-codegen-mips.cc +++ b/src/mips/lithium-codegen-mips.cc @@ -1154,7 +1154,6 @@ void LCodeGen::EmitSignedIntegerDivisionByConstant( Register scratch, LEnvironment* environment) { ASSERT(!AreAliased(dividend, scratch, at, no_reg)); - ASSERT(LChunkBuilder::HasMagicNumberForDivisor(divisor)); uint32_t divisor_abs = abs(divisor); diff --git a/src/mips/lithium-mips.cc b/src/mips/lithium-mips.cc index 38ac19f609..300c0c6cc7 100644 --- a/src/mips/lithium-mips.cc +++ b/src/mips/lithium-mips.cc @@ -1389,8 +1389,6 @@ LInstruction* LChunkBuilder::DoMathFloorOfDiv(HMathFloorOfDiv* instr) { LOperand* dividend = UseRegister(instr->left()); LOperand* divisor = UseRegisterOrConstant(right); LOperand* remainder = TempRegister(); - ASSERT(right->IsConstant() && - HConstant::cast(right)->HasInteger32Value()); return AssignEnvironment(DefineAsRegister( new(zone()) LMathFloorOfDiv(dividend, divisor, remainder))); }