Fix another broken assert (452372).

This commit is contained in:
Brendan Eich 2008-08-27 01:11:06 -07:00
parent df16afe946
commit fb2a1431d7

View File

@ -2787,7 +2787,7 @@ TraceRecorder::test_property_cache(JSObject* obj, LIns* obj_ins, JSObject*& obj2
MISMATCH_EXIT);
}
} else {
JS_ASSERT(entry->kpc == (jsbytecode*) atom);
JS_ASSERT(entry->kpc == (jsbytecode*) atoms[GET_INDEX(cx->fp->regs->pc)]);
JS_ASSERT(entry->kshape == jsuword(aobj));
if (aobj != globalObj) {
guard(true, addName(lir->ins2i(LIR_eq, obj_ins, entry->kshape), "guard(kobj)"),