Home
last modified time | relevance | path

Searched refs:function_data (Results 1 – 25 of 28) sorted by relevance

12

/third_party/node/deps/v8/src/objects/
Dshared-function-info-inl.h104 RELEASE_ACQUIRE_ACCESSORS(SharedFunctionInfo, function_data, Object, in TQ_OBJECT_CONSTRUCTORS_IMPL()
502 Object data = function_data(kAcquireLoad); in is_compiled()
552 return function_data(kAcquireLoad).IsFunctionTemplateInfo(); in IsApiFunction()
557 return FunctionTemplateInfo::cast(function_data(kAcquireLoad)); in get_api_func_data()
561 Object data = function_data(kAcquireLoad); in HasBytecodeArray()
579 Object data = function_data(kAcquireLoad); in GetActiveBytecodeArray()
597 Object data = function_data(kAcquireLoad); in SetActiveBytecodeArray()
607 DCHECK(function_data(kAcquireLoad) == Smi::FromEnum(Builtin::kCompileLazy) || in set_bytecode_array()
624 Object data = function_data(kAcquireLoad); in ShouldFlushCode()
652 Object data = function_data(kAcquireLoad); in HasInterpreterData()
[all …]
Dtemplates.cc84 type = fun.shared().function_data(kAcquireLoad); in IsTemplateFor()
112 result = (*this == fun.shared().function_data(kAcquireLoad)); in IsLeafTemplateForApiObject()
Dshared-function-info.cc78 Object data = function_data(kAcquireLoad); in GetCode()
138 return WasmExportedFunctionData::cast(function_data(kAcquireLoad)); in wasm_exported_function_data()
143 return WasmJSFunctionData::cast(function_data(kAcquireLoad)); in wasm_js_function_data()
148 return WasmCapiFunctionData::cast(function_data(kAcquireLoad)); in wasm_capi_function_data()
234 set_function_data(other.function_data(cage_base, kAcquireLoad), in CopyFrom()
Dshared-function-info.tq52 // function_data field is treated as a custom weak pointer. We visit this
56 @customWeakMarking function_data: Object;
Djs-function.cc1229 Handle<WasmExportedFunctionData> function_data( in ToString() local
1231 const wasm::WasmModule* module = function_data->instance().module(); in ToString()
1235 declared_function_index(module, function_data->function_index())); in ToString()
Dshared-function-info.h325 DECL_RELEASE_ACQUIRE_ACCESSORS(function_data, Object)
/third_party/node/deps/v8/src/compiler-dispatcher/
Dlazy-compile-dispatcher.cc190 Object function_data = function->function_data(kAcquireLoad); in IsEnqueued() local
191 if (function_data.IsUncompiledDataWithPreparseDataAndJob()) { in IsEnqueued()
193 UncompiledDataWithPreparseDataAndJob::cast(function_data).job()); in IsEnqueued()
194 } else if (function_data.IsUncompiledDataWithoutPreparseDataWithJob()) { in IsEnqueued()
196 UncompiledDataWithoutPreparseDataWithJob::cast(function_data).job()); in IsEnqueued()
376 Object function_data = shared->function_data(kAcquireLoad); in GetJobFor() local
377 if (function_data.IsUncompiledDataWithPreparseDataAndJob()) { in GetJobFor()
379 UncompiledDataWithPreparseDataAndJob::cast(function_data).job()); in GetJobFor()
380 } else if (function_data.IsUncompiledDataWithoutPreparseDataWithJob()) { in GetJobFor()
382 UncompiledDataWithoutPreparseDataWithJob::cast(function_data).job()); in GetJobFor()
/third_party/node/deps/v8/src/inspector/
Dv8-profiler-agent-impl.cc365 v8::debug::Coverage::FunctionData function_data = in coverageToProtocol() local
371 ranges->emplace_back(createCoverageRange(function_data.StartOffset(), in coverageToProtocol()
372 function_data.EndOffset(), in coverageToProtocol()
373 function_data.Count())); in coverageToProtocol()
376 for (size_t k = 0; k < function_data.BlockCount(); k++) { in coverageToProtocol()
378 function_data.GetBlockData(k); in coverageToProtocol()
388 function_data.Name().FromMaybe(v8::Local<v8::String>()))) in coverageToProtocol()
390 .setIsBlockCoverage(function_data.HasBlockCoverage()) in coverageToProtocol()
/third_party/node/deps/v8/src/wasm/
Dwasm-objects.cc608 capi_function->shared().function_data(kAcquireLoad)) in UpdateDispatchTables()
1815 Handle<WasmOnFulfilledData> function_data = in New() local
1819 function_data); in New()
1968 Handle<WasmExportedFunctionData> function_data = in New() local
2006 function_data); in New()
2018 function_data->internal().set_external(*js_function); in New()
2097 Handle<WasmJSFunctionData> function_data = factory->NewWasmJSFunctionData( in New() local
2123 function_data->internal().set_code(*wasm_to_js_wrapper_code); in New()
2133 factory->NewSharedFunctionInfoForWasmJSFunction(name, function_data); in New()
2140 function_data->internal().set_external(*js_function); in New()
[all …]
Dc-api.cc1524 i::Handle<i::WasmExportedFunctionData> function_data, in PrepareFunctionData() argument
1528 if (function_data->c_wrapper_code() != *BUILTIN_CODE(isolate, Illegal)) { in PrepareFunctionData()
1534 function_data->set_c_wrapper_code(*wrapper_code); in PrepareFunctionData()
1536 function_data->set_packed_args_size( in PrepareFunctionData()
1651 func->v8_object()->shared().function_data(v8::kAcquireLoad); in call()
1660 i::Handle<i::WasmExportedFunctionData> function_data( in call() local
1662 i::Handle<i::WasmInstanceObject> instance(function_data->instance(), isolate); in call()
1663 int function_index = function_data->function_index(); in call()
1667 PrepareFunctionData(isolate, function_data, sig, instance->module()); in call()
1668 i::Handle<i::CodeT> wrapper_code(function_data->c_wrapper_code(), isolate); in call()
[all …]
Dwasm-js.cc2597 auto function_data = i::WasmExportedFunctionData::cast( in WebAssemblySuspenderReturnPromiseOnSuspend() local
2598 result->shared().function_data(kAcquireLoad)); in WebAssemblySuspenderReturnPromiseOnSuspend()
2599 function_data.set_suspender(*suspender); in WebAssemblySuspenderReturnPromiseOnSuspend()
/third_party/node/deps/v8/src/builtins/x64/
Dbuiltins-x64.cc2901 Register wasm_instance, Register function_data) { in PrepareForBuiltinCall() argument
2911 __ pushq(function_data); in PrepareForBuiltinCall()
2920 void RestoreAfterBuiltinCall(MacroAssembler* masm, Register function_data, in RestoreAfterBuiltinCall() argument
2928 __ popq(function_data); in RestoreAfterBuiltinCall()
2970 void AllocateContinuation(MacroAssembler* masm, Register function_data, in AllocateContinuation() argument
2975 FieldOperand(function_data, WasmExportedFunctionData::kSuspenderOffset)); in AllocateContinuation()
2980 __ Push(function_data); in AllocateContinuation()
2984 __ Pop(function_data); in AllocateContinuation()
3081 Register function_data, in LoadFunctionDataAndWasmInstance() argument
3083 Register closure = function_data; in LoadFunctionDataAndWasmInstance()
[all …]
/third_party/node/deps/v8/src/runtime/
Druntime-debug.cc776 const auto& function_data = script_data.functions[j]; in RUNTIME_FUNCTION() local
777 ranges.emplace_back(function_data.start, function_data.end, in RUNTIME_FUNCTION()
778 function_data.count); in RUNTIME_FUNCTION()
779 for (size_t k = 0; k < function_data.blocks.size(); k++) { in RUNTIME_FUNCTION()
780 const auto& block_data = function_data.blocks[k]; in RUNTIME_FUNCTION()
Druntime-wasm.cc244 WasmExportedFunctionData function_data = in ReplaceWrapper() local
246 function_data.set_wrapper_code(*wrapper_code); in ReplaceWrapper()
254 Handle<WasmExportedFunctionData> function_data = in RUNTIME_FUNCTION() local
260 const int function_index = function_data->function_index(); in RUNTIME_FUNCTION()
/third_party/node/deps/v8/src/heap/
Dfactory-base.cc427 Handle<HeapObject> function_data; in NewSharedFunctionInfo() local
428 if (maybe_function_data.ToHandle(&function_data)) { in NewSharedFunctionInfo()
432 DCHECK_IMPLIES(function_data->IsCode(), in NewSharedFunctionInfo()
433 !Code::cast(*function_data).is_builtin()); in NewSharedFunctionInfo()
434 raw.set_function_data(*function_data, kReleaseStore); in NewSharedFunctionInfo()
Dmarking-visitor-inl.h198 CodeT baseline_codet = CodeT::cast(shared_info.function_data(kAcquireLoad)); in VisitSharedFunctionInfo()
/third_party/node/deps/v8/src/builtins/
Dtyped-array-from.tq95 iteratorFn.shared_function_info.function_data,
113 iteratorFn.shared_function_info.function_data,
/third_party/cef/libcef/renderer/
Dv8_impl.cc708 v8::Local<v8::External> function_data = in GetNativeFunctionTemplate() local
712 function_data); in GetNativeFunctionTemplate()
1450 v8::Local<v8::External> function_data = in CreateFunction() local
1455 v8::FunctionTemplate::New(isolate, FunctionCallbackImpl, function_data); in CreateFunction()
/third_party/node/deps/v8/src/d8/
Dd8.cc3415 debug::Coverage::FunctionData function_data = in WriteLcovData() local
3421 script->GetSourceLocation(function_data.StartOffset()); in WriteLcovData()
3423 script->GetSourceLocation(function_data.EndOffset()); in WriteLcovData()
3426 uint32_t count = function_data.Count(); in WriteLcovData()
3430 if (function_data.Name().ToLocal(&function_name)) { in WriteLcovData()
3442 for (size_t k = 0; k < function_data.BlockCount(); k++) { in WriteLcovData()
3443 debug::Coverage::BlockData block_data = function_data.GetBlockData(k); in WriteLcovData()
/third_party/node/deps/v8/src/api/
Dapi-natives.cc386 if (fun.shared().function_data(kAcquireLoad) != info.constructor()) in IsSimpleInstantiation()
/third_party/node/deps/v8/src/compiler/
Dwasm-compiler.cc6513 Node* function_data = gasm_->LoadFunctionDataFromJSFunction(input); in BuildUnpackObjectWrapper() local
6517 MachineType::TaggedPointer(), function_data, in BuildUnpackObjectWrapper()
6805 Node* function_data, in BuildCallAndReturn() argument
6821 gasm_->LoadExportedFunctionIndexAsSmi(function_data)); in BuildCallAndReturn()
6828 MachineType::TaggedPointer(), function_data, in BuildCallAndReturn()
6943 Node* function_data = gasm_->LoadFunctionDataFromJSFunction(js_closure); in BuildJSToWasmWrapper() local
6985 Node* jsval = BuildCallAndReturn(is_import, js_context, function_data, in BuildJSToWasmWrapper()
7013 Node* jsval = BuildCallAndReturn(is_import, js_context, function_data, args, in BuildJSToWasmWrapper()
Dwasm-compiler.h784 Node* BuildLoadCallTargetFromExportedFunctionData(Node* function_data);
Dheap-refs.cc2185 object()->function_data(kAcquireLoad))); in function_template_info()
/third_party/node/deps/v8/src/diagnostics/
Dobjects-printer.cc1629 os << "\n - data: " << Brief(function_data(kAcquireLoad)); in SharedFunctionInfoPrint()
/third_party/node/deps/v8/src/codegen/
Dcompiler.cc600 if (!shared_info->function_data(kAcquireLoad).IsBytecodeArray()) { in InstallInterpreterTrampolineCopy()

12