• Home
  • Raw
  • Download

Lines Matching refs:JSFunction

72 class JSFunction : public JSFunctionBase {
80 CAST_CHECK(JSFunction, IsJSFunction);
82 …alizeJSFunction(JSThread *thread, const JSHandle<GlobalEnv> &env, const JSHandle<JSFunction> &func,
88 static JSTaggedValue SpeciesConstructor(const JSHandle<JSFunction> &func,
89 const JSHandle<JSFunction> &defaultConstructor);
98 static JSTaggedValue InvokeOptimizedEntrypoint(JSThread *thread, JSHandle<JSFunction> mainFunc,
100 static JSTaggedValue InvokeOptimizedEntrypoint(JSThread *thread, JSHandle<JSFunction> func,
106 …static bool AddRestrictedFunctionProperties(const JSHandle<JSFunction> &func, const JSHandle<JSTag…
107 static bool MakeConstructor(JSThread *thread, const JSHandle<JSFunction> &func,
109 …static bool SetFunctionLength(JSThread *thread, const JSHandle<JSFunction> &func, JSTaggedValue le…
111 …static JSHandle<JSObject> NewJSFunctionPrototype(JSThread *thread, const JSHandle<JSFunction> &fun…
119 static void SetFunctionNameNoPrefix(JSThread *thread, JSFunction *func, JSTaggedValue name);
221 static void InitializeJSFunction(JSThread *thread, const JSHandle<JSFunction> &func,
223 static JSHClass *GetOrCreateInitialJSHClass(JSThread *thread, const JSHandle<JSFunction> &fun);
224 … static JSHandle<JSHClass> GetInstanceJSHClass(JSThread *thread, JSHandle<JSFunction> constructor,
238 …static JSHandle<JSHClass> GetOrCreateDerivedJSHClass(JSThread *thread, JSHandle<JSFunction> derive…
241 JSHandle<JSFunction> mainFunc, CJSInfo* cjsInfo);
244 class JSGeneratorFunction : public JSFunction {
248 static constexpr size_t SIZE = JSFunction::SIZE;
250 DECL_VISIT_OBJECT_FOR_JS_OBJECT(JSFunction, SIZE, SIZE)
272 class JSProxyRevocFunction : public JSFunction {
278 static constexpr size_t REVOCABLE_PROXY_OFFSET = JSFunction::SIZE;
281 DECL_VISIT_OBJECT_FOR_JS_OBJECT(JSFunction, REVOCABLE_PROXY_OFFSET, SIZE)
287 class JSPromiseReactionsFunction : public JSFunction {
291 static constexpr size_t PROMISE_OFFSET = JSFunction::SIZE;
295 DECL_VISIT_OBJECT_FOR_JS_OBJECT(JSFunction, PROMISE_OFFSET, SIZE)
301 class JSPromiseExecutorFunction : public JSFunction {
305 static constexpr size_t CAPABILITY_OFFSET = JSFunction::SIZE;
308 DECL_VISIT_OBJECT_FOR_JS_OBJECT(JSFunction, CAPABILITY_OFFSET, SIZE)
313 class JSPromiseAllResolveElementFunction : public JSFunction {
317 static constexpr size_t INDEX_OFFSET = JSFunction::SIZE;
324 DECL_VISIT_OBJECT_FOR_JS_OBJECT(JSFunction, INDEX_OFFSET, SIZE)
330 class JSPromiseAnyRejectElementFunction : public JSFunction {
334 static constexpr size_t ERRORS_OFFSET = JSFunction::SIZE;
343 DECL_VISIT_OBJECT_FOR_JS_OBJECT(JSFunction, ERRORS_OFFSET, INDEX_OFFSET)
349 class JSPromiseAllSettledElementFunction : public JSFunction {
353 static constexpr size_t ALREADY_CALLED_OFFSET = JSFunction::SIZE;
361 DECL_VISIT_OBJECT_FOR_JS_OBJECT(JSFunction, ALREADY_CALLED_OFFSET, INDEX_OFFSET)
367 class JSPromiseFinallyFunction : public JSFunction {
371 static constexpr size_t CONSTRUCTOR_OFFSET = JSFunction::SIZE;
375 DECL_VISIT_OBJECT_FOR_JS_OBJECT(JSFunction, CONSTRUCTOR_OFFSET, SIZE)
381 class JSPromiseValueThunkOrThrowerFunction : public JSFunction {
385 static constexpr size_t RESULT_OFFSET = JSFunction::SIZE;
388 DECL_VISIT_OBJECT_FOR_JS_OBJECT(JSFunction, RESULT_OFFSET, SIZE)
393 class JSIntlBoundFunction : public JSFunction {
399 static constexpr size_t NUMBER_FORMAT_OFFSET = JSFunction::SIZE;
405 DECL_VISIT_OBJECT_FOR_JS_OBJECT(JSFunction, NUMBER_FORMAT_OFFSET, SIZE)
409 class JSAsyncGeneratorFunction : public JSFunction {
412 static constexpr size_t SIZE = JSFunction::SIZE;
413 DECL_VISIT_OBJECT_FOR_JS_OBJECT(JSFunction, SIZE, SIZE)
417 class JSAsyncFromSyncIterUnwarpFunction : public JSFunction {
420 static constexpr size_t DONE_OFFSET = JSFunction::SIZE;
423 DECL_VISIT_OBJECT_FOR_JS_OBJECT(JSFunction, DONE_OFFSET, SIZE);