Home
last modified time | relevance | path

Searched refs:JSBoundFunction (Results 1 - 25 of 37) sorted by relevance

12

/third_party/node/deps/v8/src/objects/
H A Djs-function.h39 // JSBoundFunction describes a bound function exotic object.
40 class JSBoundFunction class
42 JSBoundFunction, JSFunctionOrBoundFunctionOrWrappedFunction> {
45 Handle<JSBoundFunction> function);
47 Handle<JSBoundFunction> function);
50 DECL_PRINTER(JSBoundFunction)
51 DECL_VERIFIER(JSBoundFunction)
55 static Handle<String> ToString(Handle<JSBoundFunction> function);
57 TQ_OBJECT_CONSTRUCTORS(JSBoundFunction)
H A Djs-function.cc227 // JSBoundFunction/JSWrappedFunction. It lazily computes the value from the in CopyNameAndLength()
263 // JSBoundFunction/JSWrappedFunction. It lazily computes the value from the in CopyNameAndLength()
305 MaybeHandle<String> JSBoundFunction::GetName(Isolate* isolate, in GetName()
306 Handle<JSBoundFunction> function) { in GetName()
315 function = handle(JSBoundFunction::cast(function->bound_target_function()), in GetName()
337 Maybe<int> JSBoundFunction::GetLength(Isolate* isolate, in GetLength()
338 Handle<JSBoundFunction> function) { in GetLength()
341 function = handle(JSBoundFunction::cast(function->bound_target_function()), in GetLength()
374 Handle<String> JSBoundFunction::ToString(Handle<JSBoundFunction> functio
[all...]
H A Djs-function-inl.h29 TQ_OBJECT_CONSTRUCTORS_IMPL(JSBoundFunction)
H A Dobject-list-macros.h134 V(JSBoundFunction) \
H A Dsource-text-module.cc936 Handle<JSBoundFunction> on_fulfilled = in ExecuteAsyncModule()
947 Handle<JSBoundFunction> on_rejected = in ExecuteAsyncModule()
H A Djs-objects.cc684 JSBoundFunction function = JSBoundFunction::cast(current); in GetFunctionRealm()
706 Handle<JSBoundFunction>::cast(receiver)->bound_target_function(), in GetContextForMicrotask()
2381 return JSBoundFunction::kHeaderSize; in GetHeaderSize()
2741 JSBoundFunction bound_function = JSBoundFunction::cast(*this); in JSObjectShortPrint()
2742 accumulator->Add("<JSBoundFunction"); in JSObjectShortPrint()
/third_party/node/deps/v8/src/builtins/
H A Dbuiltins-function.cc205 Handle<JSBoundFunction> function; in DoFunctionBind()
230 return *JSBoundFunction::ToString(Handle<JSBoundFunction>::cast(receiver)); in BUILTIN()
H A Daccessors.cc725 Handle<JSBoundFunction> function = in BoundFunctionLengthGetter()
726 Handle<JSBoundFunction>::cast(Utils::OpenHandle(*info.Holder())); in BoundFunctionLengthGetter()
729 if (!JSBoundFunction::GetLength(isolate, function).To(&length)) { in BoundFunctionLengthGetter()
751 Handle<JSBoundFunction> function = in BoundFunctionNameGetter()
752 Handle<JSBoundFunction>::cast(Utils::OpenHandle(*info.Holder())); in BoundFunctionNameGetter()
754 if (!JSBoundFunction::GetName(isolate, function).ToHandle(&result)) { in BoundFunctionNameGetter()
/third_party/node/deps/v8/src/compiler/
H A Dheap-refs.h27 class JSBoundFunction;
85 BACKGROUND_SERIALIZED(JSBoundFunction) \
437 DEFINE_REF_CONSTRUCTOR(JSBoundFunction, JSObjectRef)
439 Handle<JSBoundFunction> object() const;
H A Daccess-builder.cc209 kTaggedBase, JSBoundFunction::kBoundTargetFunctionOffset, in ForJSBoundFunctionBoundTargetFunction()
218 FieldAccess access = {kTaggedBase, JSBoundFunction::kBoundThisOffset, in ForJSBoundFunctionBoundThis()
228 kTaggedBase, JSBoundFunction::kBoundArgumentsOffset, in ForJSBoundFunctionBoundArguments()
/third_party/node/deps/v8/tools/torque/vim-torque/syntax/
H A Dtorque.vim52 syn keyword torqueType JSObject JSArray JSFunction JSBoundFunction Callable Map
/third_party/node/deps/v8/src/runtime/
H A Druntime-debug.cc217 Handle<JSBoundFunction> function = Handle<JSBoundFunction>::cast(object); in GetInternalProperties()
/third_party/node/deps/v8/src/profiler/
H A Dheap-snapshot-generator.cc1156 JSBoundFunction js_fun = JSBoundFunction::cast(obj); in ExtractJSObjectReferences()
1159 JSBoundFunction::kBoundArgumentsOffset); in ExtractJSObjectReferences()
1161 JSBoundFunction::kBoundThisOffset); in ExtractJSObjectReferences()
1164 JSBoundFunction::kBoundTargetFunctionOffset); in ExtractJSObjectReferences()
/third_party/node/deps/v8/src/builtins/mips/
H A Dbuiltins-mips.cc2275 // -- a1 : the function to call (checked to be a JSBoundFunction) in Generate_CallBoundFunctionImpl()
2281 __ lw(t0, FieldMemOperand(a1, JSBoundFunction::kBoundThisOffset)); in Generate_CallBoundFunctionImpl()
2286 __ lw(a2, FieldMemOperand(a1, JSBoundFunction::kBoundArgumentsOffset)); in Generate_CallBoundFunctionImpl()
2292 // -- a1 : the function to call (checked to be a JSBoundFunction) in Generate_CallBoundFunctionImpl()
2337 __ lw(a1, FieldMemOperand(a1, JSBoundFunction::kBoundTargetFunctionOffset)); in Generate_CallBoundFunctionImpl()
2454 // -- a1 : the function to call (checked to be a JSBoundFunction) in Generate_ConstructBoundFunction()
2461 __ lw(a2, FieldMemOperand(a1, JSBoundFunction::kBoundArgumentsOffset)); in Generate_ConstructBoundFunction()
2467 // -- a1 : the function to call (checked to be a JSBoundFunction) in Generate_ConstructBoundFunction()
2516 __ lw(a3, FieldMemOperand(a1, JSBoundFunction::kBoundTargetFunctionOffset)); in Generate_ConstructBoundFunction()
2521 __ lw(a1, FieldMemOperand(a1, JSBoundFunction in Generate_ConstructBoundFunction()
[all...]
/third_party/node/deps/v8/src/builtins/mips64/
H A Dbuiltins-mips64.cc2329 // -- a1 : the function to call (checked to be a JSBoundFunction) in Generate_CallBoundFunctionImpl()
2335 __ Ld(t0, FieldMemOperand(a1, JSBoundFunction::kBoundThisOffset)); in Generate_CallBoundFunctionImpl()
2340 __ Ld(a2, FieldMemOperand(a1, JSBoundFunction::kBoundArgumentsOffset)); in Generate_CallBoundFunctionImpl()
2345 // -- a1 : the function to call (checked to be a JSBoundFunction) in Generate_CallBoundFunctionImpl()
2391 __ Ld(a1, FieldMemOperand(a1, JSBoundFunction::kBoundTargetFunctionOffset)); in Generate_CallBoundFunctionImpl()
2505 // -- a1 : the function to call (checked to be a JSBoundFunction) in Generate_ConstructBoundFunction()
2512 __ Ld(a2, FieldMemOperand(a1, JSBoundFunction::kBoundArgumentsOffset)); in Generate_ConstructBoundFunction()
2517 // -- a1 : the function to call (checked to be a JSBoundFunction) in Generate_ConstructBoundFunction()
2567 __ Ld(a3, FieldMemOperand(a1, JSBoundFunction::kBoundTargetFunctionOffset)); in Generate_ConstructBoundFunction()
2572 __ Ld(a1, FieldMemOperand(a1, JSBoundFunction in Generate_ConstructBoundFunction()
[all...]
/third_party/node/deps/v8/src/builtins/ia32/
H A Dbuiltins-ia32.cc2480 // -- edi : target (checked to be a JSBoundFunction) in Generate_PushBoundArguments()
2486 __ mov(ecx, FieldOperand(edi, JSBoundFunction::kBoundArgumentsOffset)); in Generate_PushBoundArguments()
2495 // -- edi : target (checked to be a JSBoundFunction) in Generate_PushBoundArguments()
2527 __ mov(ecx, FieldOperand(edi, JSBoundFunction::kBoundArgumentsOffset)); in Generate_PushBoundArguments()
2562 // -- edi : the function to call (checked to be a JSBoundFunction) in Generate_CallBoundFunctionImpl()
2568 __ mov(ecx, FieldOperand(edi, JSBoundFunction::kBoundThisOffset)); in Generate_CallBoundFunctionImpl()
2575 __ mov(edi, FieldOperand(edi, JSBoundFunction::kBoundTargetFunctionOffset)); in Generate_CallBoundFunctionImpl()
2704 // -- edi : the constructor to call (checked to be a JSBoundFunction) in Generate_ConstructBoundFunction()
2717 __ mov(edx, FieldOperand(edi, JSBoundFunction::kBoundTargetFunctionOffset)); in Generate_ConstructBoundFunction()
2722 __ mov(edi, FieldOperand(edi, JSBoundFunction in Generate_ConstructBoundFunction()
[all...]
/third_party/node/deps/v8/src/builtins/loong64/
H A Dbuiltins-loong64.cc2332 // -- a1 : the function to call (checked to be a JSBoundFunction) in Generate_CallBoundFunctionImpl()
2338 __ Ld_d(t0, FieldMemOperand(a1, JSBoundFunction::kBoundThisOffset)); in Generate_CallBoundFunctionImpl()
2343 __ Ld_d(a2, FieldMemOperand(a1, JSBoundFunction::kBoundArgumentsOffset)); in Generate_CallBoundFunctionImpl()
2348 // -- a1 : the function to call (checked to be a JSBoundFunction) in Generate_CallBoundFunctionImpl()
2394 __ Ld_d(a1, FieldMemOperand(a1, JSBoundFunction::kBoundTargetFunctionOffset)); in Generate_CallBoundFunctionImpl()
2509 // -- a1 : the function to call (checked to be a JSBoundFunction) in Generate_ConstructBoundFunction()
2516 __ Ld_d(a2, FieldMemOperand(a1, JSBoundFunction::kBoundArgumentsOffset)); in Generate_ConstructBoundFunction()
2521 // -- a1 : the function to call (checked to be a JSBoundFunction) in Generate_ConstructBoundFunction()
2572 FieldMemOperand(a1, JSBoundFunction::kBoundTargetFunctionOffset)); in Generate_ConstructBoundFunction()
2577 __ Ld_d(a1, FieldMemOperand(a1, JSBoundFunction in Generate_ConstructBoundFunction()
[all...]
/third_party/node/deps/v8/src/builtins/x64/
H A Dbuiltins-x64.cc2427 // -- rdi : target (checked to be a JSBoundFunction) in Generate_PushBoundArguments()
2433 rcx, FieldOperand(rdi, JSBoundFunction::kBoundArgumentsOffset)); in Generate_PushBoundArguments()
2441 // -- rdi : target (checked to be a JSBoundFunction) in Generate_PushBoundArguments()
2475 rcx, FieldOperand(rdi, JSBoundFunction::kBoundArgumentsOffset)); in Generate_PushBoundArguments()
2504 // -- rdi : the function to call (checked to be a JSBoundFunction) in Generate_CallBoundFunctionImpl()
2511 FieldOperand(rdi, JSBoundFunction::kBoundThisOffset)); in Generate_CallBoundFunctionImpl()
2519 rdi, FieldOperand(rdi, JSBoundFunction::kBoundTargetFunctionOffset)); in Generate_CallBoundFunctionImpl()
2632 // -- rdi : the constructor to call (checked to be a JSBoundFunction) in Generate_ConstructBoundFunction()
2646 rdx, FieldOperand(rdi, JSBoundFunction::kBoundTargetFunctionOffset)); in Generate_ConstructBoundFunction()
2652 rdi, FieldOperand(rdi, JSBoundFunction in Generate_ConstructBoundFunction()
[all...]
/third_party/node/deps/v8/src/heap/
H A Dfactory.cc3025 MaybeHandle<JSBoundFunction> Factory::NewJSBoundFunction( in NewJSBoundFunction()
3033 JSBoundFunction); in NewJSBoundFunction() local
3040 JSReceiver::GetPrototype(isolate(), target_function), JSBoundFunction); in NewJSBoundFunction() local
3056 // Setup the map for the JSBoundFunction instance. in NewJSBoundFunction()
3065 // Setup the JSBoundFunction instance. in NewJSBoundFunction()
3066 Handle<JSBoundFunction> result = Handle<JSBoundFunction>::cast( in NewJSBoundFunction()
3069 JSBoundFunction raw = *result; in NewJSBoundFunction()
/third_party/node/deps/v8/src/builtins/ppc/
H A Dbuiltins-ppc.cc2537 // -- r4 : target (checked to be a JSBoundFunction) in Generate_PushBoundArguments()
2544 r5, FieldMemOperand(r4, JSBoundFunction::kBoundArgumentsOffset), r0); in Generate_PushBoundArguments()
2550 // -- r4 : target (checked to be a JSBoundFunction) in Generate_PushBoundArguments()
2610 // -- r4 : the function to call (checked to be a JSBoundFunction) in Generate_CallBoundFunctionImpl()
2616 r6, FieldMemOperand(r4, JSBoundFunction::kBoundThisOffset), r0); in Generate_CallBoundFunctionImpl()
2624 r4, FieldMemOperand(r4, JSBoundFunction::kBoundTargetFunctionOffset), r0); in Generate_CallBoundFunctionImpl()
2742 // -- r4 : the function to call (checked to be a JSBoundFunction) in Generate_ConstructBoundFunction()
2756 r6, FieldMemOperand(r4, JSBoundFunction::kBoundTargetFunctionOffset), r0); in Generate_ConstructBoundFunction()
2761 r4, FieldMemOperand(r4, JSBoundFunction::kBoundTargetFunctionOffset), r0); in Generate_ConstructBoundFunction()
/third_party/node/deps/v8/src/builtins/arm64/
H A Dbuiltins-arm64.cc2663 // -- x1 : target (checked to be a JSBoundFunction) in Generate_PushBoundArguments()
2673 bound_argv, FieldMemOperand(x1, JSBoundFunction::kBoundArgumentsOffset)); in Generate_PushBoundArguments()
2680 // -- x1 : target (checked to be a JSBoundFunction) in Generate_PushBoundArguments()
2791 // -- x1 : the function to call (checked to be a JSBoundFunction) in Generate_CallBoundFunctionImpl()
2797 FieldMemOperand(x1, JSBoundFunction::kBoundThisOffset)); in Generate_CallBoundFunctionImpl()
2805 x1, FieldMemOperand(x1, JSBoundFunction::kBoundTargetFunctionOffset)); in Generate_CallBoundFunctionImpl()
2923 // -- x1 : the function to call (checked to be a JSBoundFunction) in Generate_ConstructBoundFunction()
2938 x3, FieldMemOperand(x1, JSBoundFunction::kBoundTargetFunctionOffset)); in Generate_ConstructBoundFunction()
2944 x1, FieldMemOperand(x1, JSBoundFunction::kBoundTargetFunctionOffset)); in Generate_ConstructBoundFunction()
/third_party/node/deps/v8/src/builtins/arm/
H A Dbuiltins-arm.cc2318 // -- r1 : target (checked to be a JSBoundFunction) in Generate_PushBoundArguments()
2324 __ ldr(r2, FieldMemOperand(r1, JSBoundFunction::kBoundArgumentsOffset)); in Generate_PushBoundArguments()
2332 // -- r1 : target (checked to be a JSBoundFunction) in Generate_PushBoundArguments()
2396 // -- r1 : the function to call (checked to be a JSBoundFunction) in Generate_CallBoundFunctionImpl()
2401 __ ldr(r3, FieldMemOperand(r1, JSBoundFunction::kBoundThisOffset)); in Generate_CallBoundFunctionImpl()
2408 __ ldr(r1, FieldMemOperand(r1, JSBoundFunction::kBoundTargetFunctionOffset)); in Generate_CallBoundFunctionImpl()
2524 // -- r1 : the function to call (checked to be a JSBoundFunction) in Generate_ConstructBoundFunction()
2535 __ ldr(r3, FieldMemOperand(r1, JSBoundFunction::kBoundTargetFunctionOffset), in Generate_ConstructBoundFunction()
2539 __ ldr(r1, FieldMemOperand(r1, JSBoundFunction::kBoundTargetFunctionOffset)); in Generate_ConstructBoundFunction()
/third_party/node/deps/v8/src/builtins/riscv64/
H A Dbuiltins-riscv64.cc2468 // -- a1 : target (checked to be a JSBoundFunction) in Generate_PushBoundArguments()
2478 bound_argv, FieldMemOperand(a1, JSBoundFunction::kBoundArgumentsOffset)); in Generate_PushBoundArguments()
2485 // -- a1 : target (checked to be a JSBoundFunction) in Generate_PushBoundArguments()
2539 // -- a1 : the function to call (checked to be a JSBoundFunction) in Generate_CallBoundFunctionImpl()
2548 scratch, FieldMemOperand(a1, JSBoundFunction::kBoundThisOffset)); in Generate_CallBoundFunctionImpl()
2557 a1, FieldMemOperand(a1, JSBoundFunction::kBoundTargetFunctionOffset)); in Generate_CallBoundFunctionImpl()
2665 // -- a1 : the function to call (checked to be a JSBoundFunction) in Generate_ConstructBoundFunction()
2682 a3, FieldMemOperand(a1, JSBoundFunction::kBoundTargetFunctionOffset)); in Generate_ConstructBoundFunction()
2687 a1, FieldMemOperand(a1, JSBoundFunction::kBoundTargetFunctionOffset)); in Generate_ConstructBoundFunction()
/third_party/node/deps/v8/src/builtins/s390/
H A Dbuiltins-s390.cc2585 // -- r3 : target (checked to be a JSBoundFunction) in Generate_PushBoundArguments()
2592 r4, FieldMemOperand(r3, JSBoundFunction::kBoundArgumentsOffset)); in Generate_PushBoundArguments()
2599 // -- r3 : target (checked to be a JSBoundFunction) in Generate_PushBoundArguments()
2656 // -- r3 : the function to call (checked to be a JSBoundFunction) in Generate_CallBoundFunctionImpl()
2662 FieldMemOperand(r3, JSBoundFunction::kBoundThisOffset)); in Generate_CallBoundFunctionImpl()
2670 r3, FieldMemOperand(r3, JSBoundFunction::kBoundTargetFunctionOffset)); in Generate_CallBoundFunctionImpl()
2787 // -- r3 : the function to call (checked to be a JSBoundFunction) in Generate_ConstructBoundFunction()
2801 r5, FieldMemOperand(r3, JSBoundFunction::kBoundTargetFunctionOffset)); in Generate_ConstructBoundFunction()
2806 r3, FieldMemOperand(r3, JSBoundFunction::kBoundTargetFunctionOffset)); in Generate_ConstructBoundFunction()
/third_party/node/deps/v8/src/debug/
H A Ddebug-interface.cc101 return Utils::ToLocal(i::JSBoundFunction::ToString( in GetFunctionDescription()
102 i::Handle<i::JSBoundFunction>::cast(receiver))); in GetFunctionDescription()

Completed in 90 milliseconds

12