Make JSHasInstanceOp and JSEqualityOp take jsval. Get a lot of xpconnect compiling

This commit is contained in:
Luke Wagner
2010-06-04 16:55:08 -07:00
parent b1cccb77c8
commit b315ac77e3
38 changed files with 176 additions and 283 deletions

View File

@@ -666,9 +666,9 @@ js_IteratorNext(JSContext *cx, JSObject *iterobj, Value *rval)
}
static JSBool
stopiter_hasInstance(JSContext *cx, JSObject *obj, const Value *v, JSBool *bp)
stopiter_hasInstance(JSContext *cx, JSObject *obj, Value v, JSBool *bp)
{
*bp = js_ValueIsStopIteration(*v);
*bp = js_ValueIsStopIteration(v);
return JS_TRUE;
}