varobj is not passed through the chain. Make sure to use global->varobj for gvar access.

This commit is contained in:
Andreas Gal 2008-07-09 18:25:10 -07:00
parent ff827bd70c
commit 1a2aead6ae

View File

@ -1102,7 +1102,7 @@ jsval&
TraceRecorder::gvarval(unsigned n) const
{
JS_ASSERT(n < STOBJ_NSLOTS(global->varobj));
return STOBJ_GET_SLOT(cx->fp->varobj, n);
return STOBJ_GET_SLOT(global->varobj, n);
}
jsval&