Home
last modified time | relevance | path

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

/third_party/node/deps/v8/src/objects/
H A Dshared-function-info-inl.h104 RELEASE_ACQUIRE_ACCESSORS(SharedFunctionInfo, function_data, Object,
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(kAcquireLoa in HasInterpreterData()
739 const WasmExportedFunctionData& function_data = wasm_exported_function_data(); wasm_module() local
748 const WasmExportedFunctionData& function_data = wasm_exported_function_data(); wasm_function_signature() local
[all...]
H A Dtemplates.cc84 type = fun.shared().function_data(kAcquireLoad); in IsTemplateFor()
112 result = (*this == fun.shared().function_data(kAcquireLoad)); in IsLeafTemplateForApiObject()
H A 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()
H A Djs-function.cc1229 Handle<WasmExportedFunctionData> function_data( in ToString()
1231 const wasm::WasmModule* module = function_data->instance().module(); in ToString()
1235 declared_function_index(module, function_data->function_index())); in ToString()
H A Dshared-function-info.h325 DECL_RELEASE_ACQUIRE_ACCESSORS(function_data, Object)
630 // |function_data|. Must be called when creating the SFI after other fields
/third_party/node/deps/v8/src/compiler-dispatcher/
H A 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) in GetJobFor()
[all...]
/third_party/node/deps/v8/src/inspector/
H A 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/builtins/x64/
H A Dbuiltins-x64.cc1560 // If the SFI function_data is an InterpreterData, the function will have a in Generate_InterpreterEnterBytecode()
2901 Register wasm_instance, Register function_data) { in PrepareForBuiltinCall()
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()
2895 PrepareForBuiltinCall(MacroAssembler* masm, MemOperand GCScanSlotPlace, const int GCScanSlotCount, Register current_param, Register param_limit, Register current_int_param_slot, Register current_float_param_slot, Register valuetypes_array_ptr, Register wasm_instance, Register function_data) PrepareForBuiltinCall() argument
3080 LoadFunctionDataAndWasmInstance(MacroAssembler* masm, Register function_data, Register wasm_instance) LoadFunctionDataAndWasmInstance() argument
3103 LoadValueTypesArray(MacroAssembler* masm, Register function_data, Register valuetypes_array_ptr, Register return_count, Register param_count) LoadValueTypesArray() argument
3163 Register function_data = rdi; GenericJSToWasmWrapperHelper() local
3510 __ movq(MemOperand(rbp, kFunctionDataOffset), function_data); GenericJSToWasmWrapperHelper() local
4105 Register function_data = sfi; Generate_WasmResume() local
[all...]
/third_party/node/deps/v8/src/wasm/
H A 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 in New()
2157 WasmJSFunctionData function_data = shared().wasm_js_function_data(); GetSignature() local
2174 WasmJSFunctionData function_data = shared().wasm_js_function_data(); MatchesSignatureForSuspend() local
2195 WasmJSFunctionData function_data = shared().wasm_js_function_data(); MatchesSignature() local
[all...]
H A Dc-api.cc1524 i::Handle<i::WasmExportedFunctionData> function_data, in PrepareFunctionData()
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);
1660 i::Handle<i::WasmExportedFunctionData> function_data(
1662 i::Handle<i::WasmInstanceObject> instance(function_data->instance(), isolate);
1663 int function_index = function_data->function_index();
1667 PrepareFunctionData(isolate, function_data, sig, instance->module());
1668 i::Handle<i::CodeT> wrapper_code(function_data
1523 PrepareFunctionData(i::Isolate* isolate, i::Handle<i::WasmExportedFunctionData> function_data, const i::wasm::FunctionSig* sig, const i::wasm::WasmModule* module) PrepareFunctionData() argument
[all...]
H A 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/runtime/
H A 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()
H A 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/
H A Dfactory-base.cc427 Handle<HeapObject> function_data; in NewSharedFunctionInfo() local
428 if (maybe_function_data.ToHandle(&function_data)) { in NewSharedFunctionInfo()
429 // If we pass function_data then we shouldn't pass a builtin index, and in NewSharedFunctionInfo()
430 // the function_data should not be code with a builtin. 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()
H A Dmarking-visitor-inl.h198 CodeT baseline_codet = CodeT::cast(shared_info.function_data(kAcquireLoad)); in VisitSharedFunctionInfo()
H A Dmark-compact.cc2697 CodeT::cast(flushing_candidate.function_data(kAcquireLoad)); in ProcessOldCodeCandidates()
2715 // the function_data field to the BytecodeArray/InterpreterData. in ProcessOldCodeCandidates()
/third_party/node/deps/v8/src/api/
H A Dapi-natives.cc386 if (fun.shared().function_data(kAcquireLoad) != info.constructor()) in IsSimpleInstantiation()
/third_party/node/deps/v8/src/d8/
H A 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/compiler/
H A Dwasm-compiler.cc6513 Node* function_data = gasm_->LoadFunctionDataFromJSFunction(input);
6515 // Due to type checking, {function_data} will be a WasmFunctionData.
6517 MachineType::TaggedPointer(), function_data,
6805 Node* function_data,
6821 gasm_->LoadExportedFunctionIndexAsSmi(function_data));
6828 MachineType::TaggedPointer(), function_data,
6943 Node* function_data = gasm_->LoadFunctionDataFromJSFunction(js_closure);
6985 Node* jsval = BuildCallAndReturn(is_import, js_context, function_data,
7013 Node* jsval = BuildCallAndReturn(is_import, js_context, function_data, args,
H A Dwasm-compiler.h784 Node* BuildLoadCallTargetFromExportedFunctionData(Node* function_data);
H A Dheap-refs.cc2185 object()->function_data(kAcquireLoad))); in function_template_info()
/third_party/node/deps/v8/src/codegen/
H A Dcompiler.cc600 if (!shared_info->function_data(kAcquireLoad).IsBytecodeArray()) { in InstallInterpreterTrampolineCopy()
H A Dcode-stub-assembler.cc2960 TNode<HeapObject> function_data = LoadObjectField<HeapObject>(
2963 TVARIABLE(HeapObject, var_result, function_data);
/third_party/node/deps/v8/src/diagnostics/
H A Dobjects-printer.cc1629 os << "\n - data: " << Brief(function_data(kAcquireLoad)); in SharedFunctionInfoPrint()
/third_party/node/deps/v8/src/profiler/
H A Dheap-snapshot-generator.cc1439 SetInternalReference(entry, "function_data", in ExtractSharedFunctionInfoReferences()
1440 shared.function_data(kAcquireLoad), in ExtractSharedFunctionInfoReferences()

Completed in 96 milliseconds