fun->object = object; if (!JS_SetPrivate(cx, object, fun))
fun->object = funobj; if (!JS_SetPrivate(cx, funobj, fun))
js_LinkFunctionObject(JSContext *cx, JSFunction *fun, JSObject *object){    if (!fun->object)	fun->object = object;    if (!JS_SetPrivate(cx, object, fun))	return JS_FALSE;    JS_ATOMIC_ADDREF(&fun->nrefs, 1);    return JS_TRUE;}