mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-05 00:25:27 +00:00
Fix 355112, r=igor.
This commit is contained in:
parent
b42b4069dc
commit
73eb0a7437
@ -684,7 +684,7 @@ generator_mark(JSContext *cx, JSObject *obj, void *arg)
|
||||
JSGenerator *gen;
|
||||
|
||||
gen = (JSGenerator *) JS_GetPrivate(cx, obj);
|
||||
if (gen && gen->state != JSGEN_CLOSED) {
|
||||
if (gen) {
|
||||
/*
|
||||
* We must mark argv[-2], as js_MarkStackFrame will not. Note that
|
||||
* js_MarkStackFrame will mark thisp (argv[-1]) and actual arguments,
|
||||
|
Loading…
Reference in New Issue
Block a user