Merge MC -> JM

This commit is contained in:
Brian Hackett
2011-11-30 12:45:27 -08:00
692 changed files with 29448 additions and 10199 deletions

View File

@@ -355,6 +355,8 @@ size_t sCustomIteratorCount = 0;
static inline bool
GetCustomIterator(JSContext *cx, JSObject *obj, uintN flags, Value *vp)
{
JS_CHECK_RECURSION(cx, return false);
/* Check whether we have a valid __iterator__ method. */
JSAtom *atom = cx->runtime->atomState.iteratorAtom;
if (!js_GetMethod(cx, obj, ATOM_TO_JSID(atom), JSGET_NO_METHOD_BARRIER, vp))