mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 528126 - Ensure the GC can see the new object. r=brendan
This commit is contained in:
parent
f3b7e0182c
commit
e4ee1ce1bf
@ -1409,6 +1409,9 @@ obj_eval(JSContext *cx, JSObject *obj, uintN argc, jsval *argv, jsval *rval)
|
||||
goto out;
|
||||
}
|
||||
scopeobj = withObject;
|
||||
|
||||
JS_ASSERT(argc >= 2);
|
||||
argv[1] = OBJECT_TO_JSVAL(scopeobj);
|
||||
}
|
||||
|
||||
/* We're pretending that we're in global code. */
|
||||
|
Loading…
Reference in New Issue
Block a user