Remove this assertion since with objects will botch it. bug 343713, r=brendan

This commit is contained in:
mrbkap%gmail.com 2006-07-06 06:25:31 +00:00
parent eb1a76fb9e
commit e064fc9e40

View File

@ -545,7 +545,6 @@ js_ComputeThis(JSContext *cx, JSObject *thisp, jsval *argv)
return NULL;
if (JSVAL_IS_VOID(v))
v = OBJ_GET_SLOT(cx, thisp, JSSLOT_PARENT);
JS_ASSERT(JSVAL_TO_OBJECT(v) == OBJ_GET_PARENT(cx, thisp));
if (JSVAL_IS_NULL(v))
break;
thisp = JSVAL_TO_OBJECT(v);