Merge TM -> JM

This commit is contained in:
Brian Hackett
2011-05-15 11:32:09 -07:00
743 changed files with 10691 additions and 5219 deletions

View File

@@ -820,8 +820,7 @@ array_getProperty(JSContext *cx, JSObject *obj, JSObject *receiver, jsid id, Val
}
vp->setUndefined();
if (js_LookupPropertyWithFlags(cx, proto, id, cx->resolveFlags,
&obj2, &prop) < 0)
if (!LookupPropertyWithFlags(cx, proto, id, cx->resolveFlags, &obj2, &prop))
return JS_FALSE;
if (prop && obj2->isNative()) {