Backed out changeset 10b781704400 (bug 457065).

This commit is contained in:
Andreas Gal 2009-03-15 23:45:51 -07:00
parent 61f2416149
commit ed42bd2750

View File

@ -4210,10 +4210,7 @@ LeaveTree(InterpState& state, VMSideExit* lr)
// Verify that our state restoration worked
for (JSStackFrame* fp = cx->fp; fp; fp = fp->down) {
JS_ASSERT(!fp->callee || JSVAL_IS_OBJECT(fp->argv[-1]));
JS_ASSERT_IF(fp->callee,
(fp->flags & JSFRAME_COMPUTED_THIS)
? fp->thisp == JSVAL_TO_OBJECT(fp->argv[-1])
: !fp->thisp);
JS_ASSERT(!fp->callee || fp->thisp == JSVAL_TO_OBJECT(fp->argv[-1]));
}
#endif
#ifdef JS_JIT_SPEW