Lines Matching refs:JSBoundFunction
27 #include "JSBoundFunction.h"
35 const ClassInfo JSBoundFunction::s_info = { "Function", &Base::s_info, 0, 0, CREATE_METHOD_TABLE(JSBoundFunction) };
39 JSBoundFunction* boundFunction = jsCast<JSBoundFunction*>(exec->callee());
59 JSBoundFunction* boundFunction = jsCast<JSBoundFunction*>(exec->callee());
77 JSBoundFunction* JSBoundFunction::create(ExecState* exec, JSGlobalObject* globalObject, JSObject* targetFunction, JSValue boundThis, JSValue boundArgs, int length, const String& name)
83 JSBoundFunction* function = new (NotNull, allocateCell<JSBoundFunction>(*exec->heap())) JSBoundFunction(exec, globalObject, globalObject->boundFunctionStructure(), targetFunction, boundThis, boundArgs);
89 void JSBoundFunction::destroy(JSCell* cell)
91 static_cast<JSBoundFunction*>(cell)->JSBoundFunction::~JSBoundFunction();
94 bool JSBoundFunction::customHasInstance(JSObject* object, ExecState* exec, JSValue value)
96 return jsCast<JSBoundFunction*>(object)->m_targetFunction->hasInstance(exec, value);
99 JSBoundFunction::JSBoundFunction(ExecState* exec, JSGlobalObject* globalObject, Structure* structure, JSObject* targetFunction, JSValue boundThis, JSValue boundArgs)
107 void JSBoundFunction::finishCreation(ExecState* exec, NativeExecutable* executable, int length, const String& name)
116 void JSBoundFunction::visitChildren(JSCell* cell, SlotVisitor& visitor)
118 JSBoundFunction* thisObject = jsCast<JSBoundFunction*>(cell);