Remove bogus assert, bug 722021. r=jandem

This commit is contained in:
Brian Hackett 2012-02-02 16:06:41 -08:00
parent 9633353887
commit eb40383cdf

View File

@ -784,10 +784,8 @@ static const JSC::MacroAssembler::RegisterID JSParamReg_Argc = JSC::MIPSRegiste
Jump guardArrayExtent(int offset, RegisterID reg,
const Int32Key &key, Condition cond) {
Address extent(reg, offset);
if (key.isConstant()) {
JS_ASSERT(key.index() >= 0);
if (key.isConstant())
return branch32(cond, extent, Imm32(key.index()));
}
return branch32(cond, extent, key.reg());
}