Join function objects where possible (471214, r=igor).

This commit is contained in:
Brendan Eich
2009-08-25 23:42:37 -07:00
parent d12fa85b78
commit 2efbe9456c
17 changed files with 528 additions and 188 deletions

View File

@@ -374,7 +374,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: