Removed wrong ASSERTs on MIPS.
R=palfia@homejinni.com Review URL: https://codereview.chromium.org/22571003 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16102 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
a8e12c5a02
commit
f3a36593be
@ -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);
|
||||
|
||||
|
@ -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)));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user