Bug 994876 followup - Fix assert.

This commit is contained in:
Jan de Mooij 2014-04-15 18:13:49 +02:00
parent 26e4cd193f
commit e6a0168b24

View File

@ -3555,7 +3555,7 @@ class ICSetElem_DenseAdd : public ICUpdatedStub
return type_;
}
size_t protoChainDepth() const {
MOZ_ASSERT(extra_ < MAX_PROTO_CHAIN_DEPTH);
MOZ_ASSERT(extra_ <= MAX_PROTO_CHAIN_DEPTH);
return extra_;
}