| /third_party/node/deps/v8/src/objects/ |
| D | contexts.h | 43 V(GENERATOR_NEXT_INTERNAL, JSFunction, generator_next_internal) \ 44 V(ASYNC_MODULE_EVALUATE_INTERNAL, JSFunction, \ 46 V(REFLECT_APPLY_INDEX, JSFunction, reflect_apply) \ 47 V(REFLECT_CONSTRUCT_INDEX, JSFunction, reflect_construct) \ 48 V(PROMISE_THEN_INDEX, JSFunction, promise_then) \ 49 V(FUNCTION_PROTOTYPE_APPLY_INDEX, JSFunction, function_prototype_apply) 61 V(UINT8_ARRAY_FUN_INDEX, JSFunction, uint8_array_fun) \ 62 V(INT8_ARRAY_FUN_INDEX, JSFunction, int8_array_fun) \ 63 V(UINT16_ARRAY_FUN_INDEX, JSFunction, uint16_array_fun) \ 64 V(INT16_ARRAY_FUN_INDEX, JSFunction, int16_array_fun) \ [all …]
|
| D | js-function-inl.h | 31 TQ_OBJECT_CONSTRUCTORS_IMPL(JSFunction) in TQ_OBJECT_CONSTRUCTORS_IMPL() 33 ACCESSORS(JSFunction, raw_feedback_cell, FeedbackCell, kFeedbackCellOffset) in TQ_OBJECT_CONSTRUCTORS_IMPL() 34 RELEASE_ACQUIRE_ACCESSORS(JSFunction, raw_feedback_cell, FeedbackCell, in TQ_OBJECT_CONSTRUCTORS_IMPL() 37 FeedbackVector JSFunction::feedback_vector() const { in TQ_OBJECT_CONSTRUCTORS_IMPL() 42 ClosureFeedbackCellArray JSFunction::closure_feedback_cell_array() const { in closure_feedback_cell_array() 47 void JSFunction::reset_tiering_state() { in reset_tiering_state() 52 bool JSFunction::ChecksTieringState() { return code().checks_tiering_state(); } in ChecksTieringState() 54 void JSFunction::CompleteInobjectSlackTrackingIfActive() { in CompleteInobjectSlackTrackingIfActive() 62 AbstractCode JSFunction::abstract_code(IsolateT* isolate) { in abstract_code() 70 int JSFunction::length() { return shared().length(); } in length() [all …]
|
| D | js-function.h | 86 class JSFunction : public TorqueGeneratedJSFunction< 87 JSFunction, JSFunctionOrBoundFunctionOrWrappedFunction> { 108 static Handle<String> GetName(Isolate* isolate, Handle<JSFunction> function); 215 Isolate* isolate, Handle<JSFunction> function, 218 Handle<JSFunction> function, 228 Handle<JSFunction> function, bool reset_budget_for_feedback_allocation); 234 static void InitializeFeedbackCell(Handle<JSFunction> function, 262 static void SetInitialMap(Isolate* isolate, Handle<JSFunction> function, 264 static void SetInitialMap(Isolate* isolate, Handle<JSFunction> function, 266 Handle<JSFunction> constructor); [all …]
|
| D | js-function.cc | 23 CodeKinds JSFunction::GetAttachedCodeKinds() const { in GetAttachedCodeKinds() 33 CodeKinds JSFunction::GetAvailableCodeKinds() const { in GetAvailableCodeKinds() 62 bool JSFunction::HasAttachedOptimizedCode() const { in HasAttachedOptimizedCode() 67 bool JSFunction::HasAvailableOptimizedCode() const { in HasAvailableOptimizedCode() 72 bool JSFunction::HasAttachedCodeKind(CodeKind kind) const { in HasAttachedCodeKind() 77 bool JSFunction::HasAvailableCodeKind(CodeKind kind) const { in HasAvailableCodeKind() 101 base::Optional<CodeKind> JSFunction::GetActiveTier() const { in GetActiveTier() 133 bool JSFunction::ActiveTierIsIgnition() const { in ActiveTierIsIgnition() 137 bool JSFunction::ActiveTierIsBaseline() const { in ActiveTierIsBaseline() 141 bool JSFunction::ActiveTierIsMaglev() const { in ActiveTierIsMaglev() [all …]
|
| D | contexts.tq | 96 AGGREGATE_ERROR_FUNCTION_INDEX: Slot<NativeContext, JSFunction>, 98 ARRAY_BUFFER_NOINIT_FUN_INDEX: Slot<NativeContext, JSFunction>, 100 ARRAY_FUNCTION_INDEX: Slot<NativeContext, JSFunction>, 102 OBJECT_FUNCTION_INDEX: Slot<NativeContext, JSFunction>, 108 NUMBER_FUNCTION_INDEX: Slot<NativeContext, JSFunction>, 111 REGEXP_FUNCTION_INDEX: Slot<NativeContext, JSFunction>, 120 FUNCTION_PROTOTYPE_APPLY_INDEX: Slot<NativeContext, JSFunction>, 122 UINT8_ARRAY_FUN_INDEX: Slot<NativeContext, JSFunction>, 123 INT8_ARRAY_FUN_INDEX: Slot<NativeContext, JSFunction>, 124 UINT16_ARRAY_FUN_INDEX: Slot<NativeContext, JSFunction>, [all …]
|
| D | js-array-buffer.tq | 109 @doNotGenerateCast extern class TypedArrayConstructor extends JSFunction 110 generates 'TNode<JSFunction>'; 113 generates 'TNode<JSFunction>'; 116 generates 'TNode<JSFunction>'; 119 generates 'TNode<JSFunction>'; 122 generates 'TNode<JSFunction>'; 125 generates 'TNode<JSFunction>'; 128 generates 'TNode<JSFunction>'; 131 generates 'TNode<JSFunction>'; 134 generates 'TNode<JSFunction>'; [all …]
|
| D | js-break-iterator.tq | 11 bound_adopt_text: Undefined|JSFunction; 12 bound_first: Undefined|JSFunction; 13 bound_next: Undefined|JSFunction; 14 bound_current: Undefined|JSFunction; 15 bound_break_type: Undefined|JSFunction;
|
| D | call-site-info.cc | 21 JSFunction fun = JSFunction::cast(function()); in IsPromiseAll() 27 JSFunction fun = JSFunction::cast(function()); in IsPromiseAllSettled() 33 JSFunction fun = JSFunction::cast(function()); in IsPromiseAny() 284 Handle<JSFunction> function(JSFunction::cast(info->function()), isolate); in GetFunctionName() 285 Handle<String> name = JSFunction::GetDebugName(function); in GetFunctionName() 301 Handle<JSFunction> function(JSFunction::cast(info->function()), isolate); in GetFunctionDebugName() 302 Handle<String> name = JSFunction::GetDebugName(function); in GetFunctionDebugName() 313 JSFunction fun, in InferMethodNameFromFastObject() 347 JSFunction fun, in InferMethodNameFromDictionary() 371 JSFunction fun) { in InferMethodName() [all …]
|
| /third_party/node/deps/v8/src/execution/ |
| D | tiering-manager.h | 19 class JSFunction; variable 24 void TraceManualRecompile(JSFunction function, CodeKind code_kind, 31 void OnInterruptTick(Handle<JSFunction> function); 36 void RequestOsrAtNextOpportunity(JSFunction function); 39 static int InterruptBudgetFor(Isolate* isolate, JSFunction function); 47 void MaybeOptimizeFrame(JSFunction function, UnoptimizedFrame* frame, 50 OptimizationDecision ShouldOptimize(JSFunction function, CodeKind code_kind, 52 void Optimize(JSFunction function, CodeKind code_kind, 54 void Baseline(JSFunction function, OptimizationReason reason);
|
| D | tiering-manager.cc | 101 void TraceInOptimizationQueue(JSFunction function) { in TraceInOptimizationQueue() 108 void TraceHeuristicOptimizationDisallowed(JSFunction function) { in TraceHeuristicOptimizationDisallowed() 117 void TraceRecompile(Isolate* isolate, JSFunction function, in TraceRecompile() 132 void TraceManualRecompile(JSFunction function, CodeKind code_kind, in TraceManualRecompile() 142 void TieringManager::Optimize(JSFunction function, CodeKind code_kind, in Optimize() 153 JSFunction function = frame->function(); in HaveCachedOSRCodeForCurrentBytecodeOffset() 188 int TieringManager::InterruptBudgetFor(Isolate* isolate, JSFunction function) { in InterruptBudgetFor() 210 bool SmallEnoughForOSR(Isolate* isolate, JSFunction function) { in SmallEnoughForOSR() 217 void TrySetOsrUrgency(Isolate* isolate, JSFunction function, int osr_urgency) { in TrySetOsrUrgency() 239 void TryIncrementOsrUrgency(Isolate* isolate, JSFunction function) { in TryIncrementOsrUrgency() [all …]
|
| /third_party/node/deps/v8/src/runtime/ |
| D | runtime-compiler.cc | 32 Object CompileOptimized(Isolate* isolate, Handle<JSFunction> function, in CompileOptimized() 56 Handle<JSFunction> function = args.at<JSFunction>(0); in RUNTIME_FUNCTION() 82 Handle<JSFunction> function = args.at<JSFunction>(0); in RUNTIME_FUNCTION() 88 JSFunction::CreateAndAttachFeedbackVector(isolate, function, in RUNTIME_FUNCTION() 98 Handle<JSFunction> function = args.at<JSFunction>(0); in RUNTIME_FUNCTION() 106 Handle<JSFunction> function = args.at<JSFunction>(0); in RUNTIME_FUNCTION() 114 Handle<JSFunction> function = args.at<JSFunction>(0); in RUNTIME_FUNCTION() 122 Handle<JSFunction> function = args.at<JSFunction>(0); in RUNTIME_FUNCTION() 130 Handle<JSFunction> function = args.at<JSFunction>(0); in RUNTIME_FUNCTION() 142 Handle<JSFunction> function = args.at<JSFunction>(0); in RUNTIME_FUNCTION() [all …]
|
| D | runtime-function.cc | 23 Handle<Object> script(Handle<JSFunction>::cast(function)->shared().script(), in RUNTIME_FUNCTION() 36 Handle<Object> script(Handle<JSFunction>::cast(function)->shared().script(), in RUNTIME_FUNCTION() 51 Handle<JSFunction>::cast(function)->shared(), isolate); in RUNTIME_FUNCTION() 62 auto fun = JSFunction::cast(args[0]); in RUNTIME_FUNCTION() 72 auto f = JSFunction::cast(args[0]); in RUNTIME_FUNCTION()
|
| D | runtime-test.cc | 85 bool IsAsmWasmFunction(Isolate* isolate, JSFunction function) { in IsAsmWasmFunction() 151 Handle<JSFunction> function = Handle<JSFunction>::cast(function_object); in RUNTIME_FUNCTION() 164 Handle<JSFunction> function; in RUNTIME_FUNCTION() 224 bool CanOptimizeFunction(Handle<JSFunction> function, Isolate* isolate, 229 Handle<JSFunction> function, Isolate* isolate, in CanOptimizeFunction() 277 bool CanOptimizeFunction<CodeKind::MAGLEV>(Handle<JSFunction> function, in CanOptimizeFunction() 298 Handle<JSFunction> function = Handle<JSFunction>::cast(function_object); in OptimizeFunctionOnNextCall() 331 JSFunction::EnsureFeedbackVector(isolate, function, &is_compiled_scope); in OptimizeFunctionOnNextCall() 337 bool EnsureFeedbackVector(Isolate* isolate, Handle<JSFunction> function) { in EnsureFeedbackVector() 360 JSFunction::EnsureFeedbackVector(isolate, function, &is_compiled_scope); in EnsureFeedbackVector() [all …]
|
| D | runtime-classes.cc | 42 Handle<JSFunction> constructor = args.at<JSFunction>(0); in RUNTIME_FUNCTION() 47 Handle<JSFunction> realm_type_error_function( in RUNTIME_FUNCTION() 48 JSFunction::cast(context->get(Context::TYPE_ERROR_FUNCTION_INDEX)), in RUNTIME_FUNCTION() 85 Handle<JSFunction> function) { in ThrowNotSuperConstructor() 89 handle(Handle<JSFunction>::cast(constructor)->shared().Name(), isolate); in ThrowNotSuperConstructor() 119 Handle<JSFunction> function = args.at<JSFunction>(1); in RUNTIME_FUNCTION() 157 Handle<JSFunction> method = args.at<JSFunction>(int_index); in GetMethodAndSetName() 166 if (!JSFunction::SetName(method, name, name_prefix)) { in GetMethodAndSetName() 188 Handle<JSFunction> method = args.at<JSFunction>(int_index); in GetMethodWithSharedName() 482 Handle<JSFunction> constructor, in InitClassPrototype() [all …]
|
| /third_party/node/deps/v8/src/builtins/ |
| D | builtins-lazy-gen.cc | 18 TNode<CodeT> code, TNode<JSFunction> function) { in GenerateTailCallToJSCode() 26 Runtime::FunctionId function_id, TNode<JSFunction> function) { in GenerateTailCallToReturnedCode() 34 Runtime::FunctionId function_id, TNode<JSFunction> function) { in TailCallRuntimeIfStateEquals() 44 TNode<JSFunction> function, TNode<FeedbackVector> feedback_vector) { in MaybeTailCallOptimizedCodeSlot() 98 StoreObjectField(function, JSFunction::kCodeOffset, optimized_code); in MaybeTailCallOptimizedCodeSlot() 114 void LazyBuiltinsAssembler::CompileLazy(TNode<JSFunction> function) { in CompileLazy() 122 CAST(LoadObjectField(function, JSFunction::kSharedFunctionInfoOffset)); in CompileLazy() 134 StoreObjectField(function, JSFunction::kCodeOffset, sfi_code); in CompileLazy() 180 auto function = Parameter<JSFunction>(Descriptor::kTarget); in TF_BUILTIN() 186 auto function = Parameter<JSFunction>(Descriptor::kTarget); in TF_BUILTIN() [all …]
|
| D | accessors.cc | 316 Handle<JSFunction> function) { in GetFunctionPrototype() 325 JSFunction::SetPrototype(function, proto); in GetFunctionPrototype() 335 Handle<JSFunction> function = in FunctionPrototypeGetter() 336 Handle<JSFunction>::cast(Utils::OpenHandle(*info.Holder())); in FunctionPrototypeGetter() 349 Handle<JSFunction> object = in FunctionPrototypeSetter() 350 Handle<JSFunction>::cast(Utils::OpenHandle(*info.Holder())); in FunctionPrototypeSetter() 352 JSFunction::SetPrototype(object, value); in FunctionPrototypeSetter() 370 Handle<JSFunction> function = in FunctionLengthGetter() 371 Handle<JSFunction>::cast(Utils::OpenHandle(*info.Holder())); in FunctionLengthGetter() 390 Handle<JSFunction> function = in FunctionNameGetter() [all …]
|
| D | builtins-lazy-gen.h | 20 void GenerateTailCallToJSCode(TNode<CodeT> code, TNode<JSFunction> function); 23 TNode<JSFunction> function); 27 TNode<JSFunction> function); 29 void MaybeTailCallOptimizedCodeSlot(TNode<JSFunction> function, 31 void CompileLazy(TNode<JSFunction> function);
|
| D | builtins-function.cc | 30 Handle<JSFunction> target = args.target(); in CreateDynamicFunction() 84 Handle<JSFunction> function; in CreateDynamicFunction() 97 function = Handle<JSFunction>::cast(result); in CreateDynamicFunction() 115 JSFunction::GetDerivedMap(isolate, target, new_target), Object); in CreateDynamicFunction() 157 Handle<JSFunction> func = Handle<JSFunction>::cast(maybe_func); in BUILTIN() 176 Handle<JSFunction> func = Handle<JSFunction>::cast(maybe_func); in BUILTIN() 233 return *JSFunction::ToString(Handle<JSFunction>::cast(receiver)); in BUILTIN()
|
| D | builtins-async-gen.cc | 109 AllocateInNewSpace(JSFunction::kSizeWithoutPrototype); in Await() 115 AllocateInNewSpace(JSFunction::kSizeWithoutPrototype); in Await() 161 IntPtrConstant(JSFunction::kSizeWithoutPrototype / in InitializeNativeClosure() 163 STATIC_ASSERT(JSFunction::kSizeWithoutPrototype == 7 * kTaggedSize); in InitializeNativeClosure() 169 StoreObjectFieldRoot(function, JSFunction::kFeedbackCellOffset, in InitializeNativeClosure() 173 function, JSFunction::kSharedFunctionInfoOffset, shared_info); in InitializeNativeClosure() 174 StoreObjectFieldNoWriteBarrier(function, JSFunction::kContextOffset, context); in InitializeNativeClosure() 184 StoreObjectFieldNoWriteBarrier(function, JSFunction::kCodeOffset, code); in InitializeNativeClosure() 187 TNode<JSFunction> AsyncBuiltinsAssembler::CreateUnwrapClosure( in CreateUnwrapClosure()
|
| /third_party/node/deps/v8/src/init/ |
| D | bootstrapper.cc | 189 Handle<JSFunction> CreateEmptyFunction(); 192 Handle<JSFunction> GetThrowTypeErrorIntrinsic(); 194 void CreateSloppyModeFunctionMaps(Handle<JSFunction> empty); 195 void CreateStrictModeFunctionMaps(Handle<JSFunction> empty); 196 void CreateObjectFunction(Handle<JSFunction> empty); 197 void CreateIteratorMaps(Handle<JSFunction> empty); 198 void CreateAsyncIteratorMaps(Handle<JSFunction> empty); 199 void CreateAsyncFunctionMaps(Handle<JSFunction> empty); 203 void AddRestrictedFunctionProperties(Handle<JSFunction> empty); 228 Handle<JSFunction> empty_function); [all …]
|
| /third_party/node/deps/v8/src/heap/ |
| D | weak-object-worklists.cc | 172 WeakObjectWorklist<JSFunction>& flushed_js_functions) { in UpdateFlushedJSFunctions() 174 [](JSFunction slot_in, JSFunction* slot_out) -> bool { in UpdateFlushedJSFunctions() 175 JSFunction forwarded = ForwardingAddress(slot_in); in UpdateFlushedJSFunctions() 188 WeakObjectWorklist<JSFunction>& baseline_flush_candidates) { in UpdateBaselineFlushingCandidates() 190 [](JSFunction slot_in, JSFunction* slot_out) -> bool { in UpdateBaselineFlushingCandidates() 191 JSFunction forwarded = ForwardingAddress(slot_in); in UpdateBaselineFlushingCandidates()
|
| /third_party/node/deps/v8/src/codegen/ |
| D | pending-optimization-table.h | 24 Handle<JSFunction> function, 33 Handle<JSFunction> function); 39 Handle<JSFunction> function); 45 JSFunction function);
|
| /third_party/node/deps/v8/src/web-snapshot/ |
| D | web-snapshot.h | 185 void DiscoverFunction(Handle<JSFunction> function); 186 void DiscoverClass(Handle<JSFunction> function); 187 void DiscoverContextAndPrototype(Handle<JSFunction> function); 191 void DiscoverSource(Handle<JSFunction> function); 195 Handle<JSFunction> function); 199 void SerializeFunction(Handle<JSFunction> function); 200 void SerializeClass(Handle<JSFunction> function); 213 uint32_t GetFunctionId(JSFunction function); 214 uint32_t GetClassId(JSFunction function); 319 Handle<JSFunction> CreateJSFunction(int index, uint32_t start, [all …]
|
| /third_party/node/deps/v8/src/api/ |
| D | api-natives.cc | 46 MaybeHandle<JSFunction> InstantiateFunction( 51 MaybeHandle<JSFunction> InstantiateFunction( in InstantiateFunction() 385 JSFunction fun = JSFunction::cast(new_target); in IsSimpleInstantiation() 397 Handle<JSFunction> constructor; in InstantiateObject() 401 constructor = Handle<JSFunction>::cast(new_target); in InstantiateObject() 426 Handle<JSFunction> tmp_constructor; in InstantiateObject() 469 Handle<JSFunction> parent_instance; in GetInstancePrototype() 474 JSFunction); in GetInstancePrototype() 481 JSFunction); in GetInstancePrototype() 486 MaybeHandle<JSFunction> InstantiateFunction( in InstantiateFunction() [all …]
|
| /third_party/node/deps/v8/src/ic/ |
| D | call-optimization.h | 30 Handle<JSFunction> constant_function() const { in constant_function() 59 void Initialize(IsolateT* isolate, Handle<JSFunction> function); 68 Handle<JSFunction> function); 70 Handle<JSFunction> constant_function_;
|