Bug 471214 - Join function objects transparently, clone via read barrier to satisfy de-facto standard (r=igor).

This commit is contained in:
Brendan Eich
2009-07-28 13:20:14 -07:00
parent f969861105
commit c0e238ae3e
17 changed files with 535 additions and 213 deletions

View File

@@ -376,7 +376,7 @@ js_ValueToIterator(JSContext *cx, uintN flags, jsval *vp)
*vp = OBJECT_TO_JSVAL(iterobj);
} else {
atom = cx->runtime->atomState.iteratorAtom;
if (!js_GetMethod(cx, obj, ATOM_TO_JSID(atom), false, vp))
if (!js_GetMethod(cx, obj, ATOM_TO_JSID(atom), 0, vp))
goto bad;
if (JSVAL_IS_VOID(*vp)) {
default_iter: