bug 545529 - caching Class.prototype lookups. r=brendan

This commit is contained in:
Igor Bukanov
2010-02-19 20:44:23 +03:00
parent db7dd490d0
commit 2762bee821
16 changed files with 248 additions and 133 deletions

View File

@@ -291,7 +291,7 @@ js_ThrowStopIteration(JSContext *cx)
jsval v;
JS_ASSERT(!JS_IsExceptionPending(cx));
if (js_FindClassObject(cx, NULL, INT_TO_JSID(JSProto_StopIteration), &v))
if (js_FindClassObject(cx, NULL, JSProto_StopIteration, &v))
JS_SetPendingException(cx, v);
return JS_FALSE;
}