• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10/JavaScriptCore-7600.1.17/runtime/

Lines Matching defs:JSFunction

26 #include "JSFunction.h"
56 const ClassInfo JSFunction::s_info = { "Function", &Base::s_info, 0, 0, CREATE_METHOD_TABLE(JSFunction) };
58 bool JSFunction::isHostFunctionNonInline() const
63 JSFunction* JSFunction::create(VM& vm, JSGlobalObject* globalObject, int length, const String& name, NativeFunction nativeFunction, Intrinsic intrinsic, NativeFunction nativeConstructor)
76 JSFunction* function = new (NotNull, allocateCell<JSFunction>(vm.heap)) JSFunction(vm, globalObject, globalObject->functionStructure());
82 void JSFunction::destroy(JSCell* cell)
84 static_cast<JSFunction*>(cell)->JSFunction::~JSFunction();
87 JSFunction::JSFunction(VM& vm, JSGlobalObject* globalObject, Structure* structure)
104 void JSFunction::finishCreation(VM& vm, NativeExecutable* executable, int length, const String& name)
113 void JSFunction::addNameScopeIfNeeded(VM& vm)
123 JSFunction* JSFunction::createBuiltinFunction(VM& vm, FunctionExecutable* executable, JSGlobalObject* globalObject)
125 JSFunction* function = create(vm, executable, globalObject);
131 ObjectAllocationProfile* JSFunction::createAllocationProfile(ExecState* exec, size_t inlineCapacity)
141 String JSFunction::name(ExecState* exec)
146 String JSFunction::displayName(ExecState* exec)
156 const String JSFunction::calculatedDisplayName(ExecState* exec)
170 const SourceCode* JSFunction::sourceCode() const
177 void JSFunction::visitChildren(JSCell* cell, SlotVisitor& visitor)
179 JSFunction* thisObject = jsCast<JSFunction*>(cell);
190 CallType JSFunction::getCallData(JSCell* cell, CallData& callData)
192 JSFunction* thisObject = jsCast<JSFunction*>(cell);
204 RetrieveArgumentsFunctor(JSFunction* functionObj)
227 static JSValue retrieveArguments(ExecState* exec, JSFunction* functionObj)
234 EncodedJSValue JSFunction::argumentsGetter(ExecState* exec, JSObject* slotBase, EncodedJSValue, PropertyName)
236 JSFunction* thisObj = jsCast<JSFunction*>(slotBase);
244 RetrieveCallerFunctionFunctor(JSFunction* functionObj)
282 static JSValue retrieveCallerFunction(ExecState* exec, JSFunction* functionObj)
289 EncodedJSValue JSFunction::callerGetter(ExecState* exec, JSObject* slotBase, EncodedJSValue, PropertyName)
291 JSFunction* thisObj = jsCast<JSFunction*>(slotBase);
296 if (!caller.isObject() || !asObject(caller)->inherits(JSFunction::info()))
298 JSFunction* function = jsCast<JSFunction*>(caller);
304 EncodedJSValue JSFunction::lengthGetter(ExecState*, JSObject* slotBase, EncodedJSValue, PropertyName)
306 JSFunction* thisObj = jsCast<JSFunction*>(slotBase);
311 EncodedJSValue JSFunction::nameGetter(ExecState*, JSObject* slotBase, EncodedJSValue, PropertyName)
313 JSFunction* thisObj = jsCast<JSFunction*>(slotBase);
318 bool JSFunction::getOwnPropertySlot(JSObject* object, ExecState* exec, PropertyName propertyName, PropertySlot& slot)
320 JSFunction* thisObject = jsCast<JSFunction*>(object);
380 void JSFunction::getOwnNonIndexPropertyNames(JSObject* object, ExecState* exec, PropertyNameArray& propertyNames, EnumerationMode mode)
382 JSFunction* thisObject = jsCast<JSFunction*>(object);
397 void JSFunction::put(JSCell* cell, ExecState* exec, PropertyName propertyName, JSValue value, PutPropertySlot& slot)
399 JSFunction* thisObject = jsCast<JSFunction*>(cell);
431 bool JSFunction::deleteProperty(JSCell* cell, ExecState* exec, PropertyName propertyName)
433 JSFunction* thisObject = jsCast<JSFunction*>(cell);
445 bool JSFunction::defineOwnProperty(JSObject* object, ExecState* exec, PropertyName propertyName, const PropertyDescriptor& descriptor, bool throwException)
447 JSFunction* thisObject = jsCast<JSFunction*>(object);
514 ConstructType JSFunction::getConstructData(JSCell* cell, ConstructData& constructData)
516 JSFunction* thisObject = jsCast<JSFunction*>(cell);
528 if (JSFunction* function = jsDynamicCast<JSFunction*>(object))