Fix obj2 typo, meant obj (obvious use-before-set, sorry about that).

This commit is contained in:
Brendan Eich 2008-08-09 13:30:49 -07:00
parent a6c2154d2d
commit 2d69e4fd88

View File

@ -4670,7 +4670,7 @@ js_Interpret(JSContext *cx)
JSVAL_IS_OBJECT(rval)
? JSVAL_TO_OBJECT(rval)
: NULL,
OBJ_GET_PARENT(cx, obj2),
OBJ_GET_PARENT(cx, obj),
0);
if (!obj2)
goto error;