Lines Matching refs:callobj
97 JS_ASSERT(fp->callobj); in js_GetArgsValue()
98 return OBJ_GET_PROPERTY(cx, fp->callobj, in js_GetArgsValue()
183 JS_ASSERT(fp->callobj); in js_GetArgsProperty()
184 if (!OBJ_GET_PROPERTY(cx, fp->callobj, in js_GetArgsProperty()
522 JSObject *callobj, *funobj; in js_GetCallObject() local
526 callobj = fp->callobj; in js_GetCallObject()
527 if (callobj) in js_GetCallObject()
528 return callobj; in js_GetCallObject()
539 callobj = js_NewObject(cx, &js_CallClass, NULL, parent); in js_GetCallObject()
540 if (!callobj || !JS_SetPrivate(cx, callobj, fp)) { in js_GetCallObject()
544 fp->callobj = callobj; in js_GetCallObject()
547 fp->scopeChain = callobj; in js_GetCallObject()
548 fp->varobj = callobj; in js_GetCallObject()
549 return callobj; in js_GetCallObject()
558 JSObject *callobj; in js_PutCallObject() local
567 callobj = fp->callobj; in js_PutCallObject()
568 if (!callobj) in js_PutCallObject()
570 ok = call_enumerate(cx, callobj); in js_PutCallObject()
577 ok &= js_GetProperty(cx, callobj, argsid, &aval); in js_PutCallObject()
578 ok &= js_SetProperty(cx, callobj, argsid, &aval); in js_PutCallObject()
587 ok &= JS_SetPrivate(cx, callobj, NULL); in js_PutCallObject()
588 fp->callobj = NULL; in js_PutCallObject()