Home
last modified time | relevance | path

Searched refs:SharedFunctionInfo (Results 1 – 25 of 222) sorted by relevance

123456789

/third_party/node/deps/v8/src/objects/
Dshared-function-info-inl.h100 TQ_OBJECT_CONSTRUCTORS_IMPL(SharedFunctionInfo) in TQ_OBJECT_CONSTRUCTORS_IMPL()
101 NEVER_READ_ONLY_SPACE_IMPL(SharedFunctionInfo) in TQ_OBJECT_CONSTRUCTORS_IMPL()
102 DEFINE_DEOPT_ELEMENT_ACCESSORS(SharedFunctionInfo, Object) in TQ_OBJECT_CONSTRUCTORS_IMPL()
104 RELEASE_ACQUIRE_ACCESSORS(SharedFunctionInfo, function_data, Object, in TQ_OBJECT_CONSTRUCTORS_IMPL()
106 RELEASE_ACQUIRE_ACCESSORS(SharedFunctionInfo, name_or_scope_info, Object, in TQ_OBJECT_CONSTRUCTORS_IMPL()
108 RELEASE_ACQUIRE_ACCESSORS(SharedFunctionInfo, script_or_debug_info, HeapObject, in TQ_OBJECT_CONSTRUCTORS_IMPL()
111 RENAME_TORQUE_ACCESSORS(SharedFunctionInfo, in TQ_OBJECT_CONSTRUCTORS_IMPL()
114 DEF_ACQUIRE_GETTER(SharedFunctionInfo, in TQ_OBJECT_CONSTRUCTORS_IMPL()
122 uint16_t SharedFunctionInfo::internal_formal_parameter_count_with_receiver() in internal_formal_parameter_count_with_receiver()
128 uint16_t SharedFunctionInfo::internal_formal_parameter_count_without_receiver() in internal_formal_parameter_count_without_receiver()
[all …]
Dshared-function-info.cc20 V8_EXPORT_PRIVATE constexpr Smi SharedFunctionInfo::kNoSharedNameSentinel;
22 uint32_t SharedFunctionInfo::Hash() { in Hash()
31 void SharedFunctionInfo::Init(ReadOnlyRoots ro_roots, int unique_id) { in Init()
40 set_name_or_scope_info(SharedFunctionInfo::kNoSharedNameSentinel, in Init()
71 CodeT SharedFunctionInfo::GetCode() const { in GetCode()
135 WasmExportedFunctionData SharedFunctionInfo::wasm_exported_function_data() in wasm_exported_function_data()
141 WasmJSFunctionData SharedFunctionInfo::wasm_js_function_data() const { in wasm_js_function_data()
146 WasmCapiFunctionData SharedFunctionInfo::wasm_capi_function_data() const { in wasm_capi_function_data()
152 SharedFunctionInfo::ScriptIterator::ScriptIterator(Isolate* isolate, in ScriptIterator()
156 SharedFunctionInfo::ScriptIterator::ScriptIterator( in ScriptIterator()
[all …]
Dshared-function-info.h186 class SharedFunctionInfo
187 : public TorqueGeneratedSharedFunctionInfo<SharedFunctionInfo, HeapObject> {
225 void CopyFrom(SharedFunctionInfo other);
403 static Handle<String> DebugName(Handle<SharedFunctionInfo>);
535 static Handle<Object> GetSourceCode(Handle<SharedFunctionInfo> shared);
536 static Handle<Object> GetSourceCodeHarmony(Handle<SharedFunctionInfo> shared);
555 Isolate* isolate, Handle<SharedFunctionInfo> shared_info);
599 Handle<SharedFunctionInfo> shared_info,
613 Isolate* isolate, Handle<SharedFunctionInfo> shared_info,
619 Isolate* isolate, Handle<SharedFunctionInfo> shared_info);
[all …]
Dcompilation-cache-table.h33 SharedFunctionInfo shared,
54 inline InfoCellPair(Isolate* isolate, SharedFunctionInfo shared,
61 SharedFunctionInfo shared() const { in shared()
78 SharedFunctionInfo shared_;
90 static MaybeHandle<SharedFunctionInfo> LookupScript( in EXTERN_DECLARE_HASH_TABLE()
95 LanguageMode language_mode, Handle<SharedFunctionInfo> value, in EXTERN_DECLARE_HASH_TABLE()
111 Handle<SharedFunctionInfo> shared, in EXTERN_DECLARE_HASH_TABLE()
116 Handle<SharedFunctionInfo> outer_info, Handle<SharedFunctionInfo> value, in EXTERN_DECLARE_HASH_TABLE()
Dosr-optimized-code-cache.h51 Handle<SharedFunctionInfo> shared, Handle<CodeT> code,
57 CodeT TryGet(SharedFunctionInfo shared, BytecodeOffset osr_offset,
60 std::vector<BytecodeOffset> OsrOffsetsFor(SharedFunctionInfo shared);
61 base::Optional<BytecodeOffset> FirstOsrOffsetFor(SharedFunctionInfo shared);
101 SharedFunctionInfo GetSFIFromEntry(int index);
104 inline int FindEntry(SharedFunctionInfo shared, BytecodeOffset osr_offset);
106 inline void InitializeEntry(int entry, SharedFunctionInfo shared, CodeT code,
Dcompilation-cache-table.cc145 StringSharedKey(Handle<String> source, Handle<SharedFunctionInfo> shared, in StringSharedKey()
172 Handle<SharedFunctionInfo> shared; in IsMatch()
190 Handle<SharedFunctionInfo> shared; in AsHandle()
205 MaybeHandle<SharedFunctionInfo> shared_;
237 explicit CodeKey(Handle<SharedFunctionInfo> key) in CodeKey()
242 Handle<SharedFunctionInfo> key_;
247 MaybeHandle<SharedFunctionInfo> CompilationCacheTable::LookupScript( in LookupScript()
253 if (entry.is_not_found()) return MaybeHandle<SharedFunctionInfo>(); in LookupScript()
256 return MaybeHandle<SharedFunctionInfo>(); in LookupScript()
260 return handle(SharedFunctionInfo::cast(obj), isolate); in LookupScript()
[all …]
Dosr-optimized-code-cache.cc24 Handle<SharedFunctionInfo> shared, in Insert()
107 CodeT OSROptimizedCodeCache::TryGet(SharedFunctionInfo shared, in TryGet()
142 SharedFunctionInfo shared) { in OsrOffsetsFor()
159 SharedFunctionInfo shared) { in FirstOsrOffsetFor()
199 SharedFunctionInfo OSROptimizedCodeCache::GetSFIFromEntry(int index) { in GetSFIFromEntry()
204 return sfi_entry.is_null() ? SharedFunctionInfo() in GetSFIFromEntry()
205 : SharedFunctionInfo::cast(sfi_entry); in GetSFIFromEntry()
216 int OSROptimizedCodeCache::FindEntry(SharedFunctionInfo shared, in FindEntry()
229 SharedFunctionInfo shared = GetSFIFromEntry(index); in ClearEntry()
252 SharedFunctionInfo shared, in InitializeEntry()
/third_party/node/deps/v8/src/codegen/
Dcompiler.h71 static bool Compile(Isolate* isolate, Handle<SharedFunctionInfo> shared,
79 static MaybeHandle<SharedFunctionInfo> CompileToplevel(
84 Handle<SharedFunctionInfo> shared,
105 V8_WARN_UNUSED_RESULT static MaybeHandle<SharedFunctionInfo>
113 Handle<SharedFunctionInfo> shared);
148 Handle<String> source, Handle<SharedFunctionInfo> outer_info,
182 static MaybeHandle<SharedFunctionInfo> GetSharedFunctionInfoForScript(
190 static MaybeHandle<SharedFunctionInfo>
200 static MaybeHandle<SharedFunctionInfo>
212 static MaybeHandle<SharedFunctionInfo>
[all …]
Dsource-position.cc71 Handle<SharedFunctionInfo> function( in InliningStack()
76 Handle<SharedFunctionInfo> function( in InliningStack()
77 SharedFunctionInfo::cast(deopt_data.SharedFunctionInfo()), isolate); in InliningStack()
90 Handle<SharedFunctionInfo> function( in FirstInfo()
94 Handle<SharedFunctionInfo> function( in FirstInfo()
95 SharedFunctionInfo::cast(deopt_data.SharedFunctionInfo()), isolate); in FirstInfo()
100 SharedFunctionInfo function) const { in Print()
134 SharedFunctionInfo function( in Print()
135 SharedFunctionInfo::cast(deopt_data.SharedFunctionInfo())); in Print()
142 SharedFunctionInfo function = in Print()
[all …]
Dcompilation-cache.h59 void Remove(Handle<SharedFunctionInfo> function_info);
85 MaybeHandle<SharedFunctionInfo> Lookup(Handle<String> source,
90 Handle<SharedFunctionInfo> function_info);
116 Handle<SharedFunctionInfo> outer_info,
120 void Put(Handle<String> source, Handle<SharedFunctionInfo> outer_info,
121 Handle<SharedFunctionInfo> function_info,
160 MaybeHandle<SharedFunctionInfo> LookupScript(
168 Handle<SharedFunctionInfo> outer_info,
180 Handle<SharedFunctionInfo> function_info);
184 void PutEval(Handle<String> source, Handle<SharedFunctionInfo> outer_info,
[all …]
Dcompilation-cache.cc93 void CompilationSubCache::Remove(Handle<SharedFunctionInfo> function_info) { in Remove()
113 bool HasOrigin(Isolate* isolate, Handle<SharedFunctionInfo> function_info, in HasOrigin()
168 MaybeHandle<SharedFunctionInfo> CompilationCacheScript::Lookup( in Lookup()
171 MaybeHandle<SharedFunctionInfo> result; in Lookup()
180 MaybeHandle<SharedFunctionInfo> probe = CompilationCacheTable::LookupScript( in Lookup()
182 Handle<SharedFunctionInfo> function_info; in Lookup()
195 Handle<SharedFunctionInfo> function_info; in Lookup()
210 Handle<SharedFunctionInfo> function_info) { in Put()
218 Handle<SharedFunctionInfo> outer_info, in Lookup()
241 Handle<SharedFunctionInfo> outer_info, in Put()
[all …]
Dcompiler.cc115 Handle<SharedFunctionInfo> shared) { in TraceStartBaselineCompile()
158 Handle<SharedFunctionInfo> shared, in TraceFinishBaselineCompile()
235 Handle<SharedFunctionInfo> shared, in PrintTracePrefix()
250 Handle<SharedFunctionInfo> shared, in LogFunctionCompilation()
314 Handle<String> debug_name = SharedFunctionInfo::DebugName(shared); in LogFunctionCompilation()
368 Handle<SharedFunctionInfo> shared_info, Isolate* isolate) { in FinalizeJob()
380 Handle<SharedFunctionInfo> shared_info, LocalIsolate* isolate) { in FinalizeJob()
390 Handle<SharedFunctionInfo> shared_info) { in RecordUnoptimizedCompilationStats()
412 Handle<SharedFunctionInfo> shared, base::TimeDelta time_taken_to_execute, in RecordUnoptimizedFunctionCompilation()
597 Isolate* isolate, Handle<SharedFunctionInfo> shared_info, in InstallInterpreterTrampolineCopy()
[all …]
/third_party/node/deps/v8/src/snapshot/
Dcode-serializer.cc52 Handle<SharedFunctionInfo> info) { in Serialize()
99 Handle<SharedFunctionInfo> info) { in SerializeSharedFunctionInfo()
189 SharedFunctionInfo sfi = SharedFunctionInfo::cast(*obj); in SerializeObjectImpl()
213 SharedFunctionInfo sfi = SharedFunctionInfo::cast(*obj); in SerializeObjectImpl()
281 Handle<SharedFunctionInfo> sfi, in CreateInterpreterDataForDeserializedCode()
288 SharedFunctionInfo::ScriptIterator iter(isolate, *script); in CreateInterpreterDataForDeserializedCode()
289 for (SharedFunctionInfo shared_info = iter.Next(); !shared_info.is_null(); in CreateInterpreterDataForDeserializedCode()
294 Handle<SharedFunctionInfo> info = handle(shared_info, isolate); in CreateInterpreterDataForDeserializedCode()
339 MaybeHandle<SharedFunctionInfo> Finalize(Isolate* isolate, in Finalize()
354 Handle<SharedFunctionInfo> result, in FinalizeDeserialization()
[all …]
Dobject-deserializer.cc25 MaybeHandle<SharedFunctionInfo>
34 ? Handle<SharedFunctionInfo>::cast(result) in DeserializeSharedFunctionInfo()
35 : MaybeHandle<SharedFunctionInfo>(); in DeserializeSharedFunctionInfo()
103 MaybeHandle<SharedFunctionInfo>
114 return MaybeHandle<SharedFunctionInfo>(); in DeserializeSharedFunctionInfo()
116 return Handle<SharedFunctionInfo>::cast(result); in DeserializeSharedFunctionInfo()
/third_party/node/deps/v8/src/deoptimizer/
Dtranslated-state.h195 Handle<SharedFunctionInfo> shared_info() const { return shared_info_; } in shared_info()
207 SharedFunctionInfo raw_shared_info() const { in raw_shared_info()
274 SharedFunctionInfo shared_info,
278 SharedFunctionInfo shared_info);
279 static TranslatedFrame ArgumentsAdaptorFrame(SharedFunctionInfo shared_info,
282 SharedFunctionInfo shared_info,
285 BytecodeOffset bailout_id, SharedFunctionInfo shared_info, int height);
288 BytecodeOffset bailout_id, SharedFunctionInfo shared_info, int height,
292 BytecodeOffset bailout_id, SharedFunctionInfo shared_info, int height);
294 BytecodeOffset bailout_id, SharedFunctionInfo shared_info, int height);
[all …]
/third_party/node/deps/v8/src/debug/
Ddebug-coverage.cc23 : public base::TemplateHashMapImpl<SharedFunctionInfo, uint32_t,
27 using Entry = base::TemplateHashMapEntry<SharedFunctionInfo, uint32_t>;
28 inline void Add(SharedFunctionInfo key, uint32_t count) { in Add()
38 inline uint32_t Get(SharedFunctionInfo key) { in Get()
45 static uint32_t Hash(SharedFunctionInfo key) { in Hash()
53 int StartPosition(SharedFunctionInfo info) { in StartPosition()
71 std::vector<CoverageBlock> GetSortedBlockData(SharedFunctionInfo shared) { in GetSortedBlockData()
383 void ResetAllBlockCounts(SharedFunctionInfo shared) { in ResetAllBlockCounts()
415 SharedFunctionInfo info, in CollectBlockCoverageInternal()
472 void CollectBlockCoverage(CoverageFunction* function, SharedFunctionInfo info, in CollectBlockCoverage()
[all …]
Ddebug.h241 bool SetBreakpoint(Handle<SharedFunctionInfo> shared,
251 bool SetBreakpointForFunction(Handle<SharedFunctionInfo> shared,
281 void DiscardBaselineCode(SharedFunctionInfo shared);
284 void DeoptimizeFunction(Handle<SharedFunctionInfo> shared);
285 void PrepareFunctionForDebugExecution(Handle<SharedFunctionInfo> shared);
291 bool IsBlackboxed(Handle<SharedFunctionInfo> shared);
294 bool CanBreakAtEntry(Handle<SharedFunctionInfo> shared);
299 bool EnsureBreakInfo(Handle<SharedFunctionInfo> shared);
300 void CreateBreakInfo(Handle<SharedFunctionInfo> shared);
301 Handle<DebugInfo> GetOrCreateDebugInfo(Handle<SharedFunctionInfo> shared);
[all …]
Ddebug.cc500 Handle<SharedFunctionInfo> shared(break_target->shared(), isolate_); in Break()
723 bool Debug::SetBreakpoint(Handle<SharedFunctionInfo> shared, in SetBreakpoint()
772 auto shared = Handle<SharedFunctionInfo>::cast(result); in SetBreakPointForScript()
863 Handle<SharedFunctionInfo> shared = handle(function->shared(), isolate_); in GetFunctionDebuggingId()
873 bool Debug::SetBreakpointForFunction(Handle<SharedFunctionInfo> shared, in SetBreakpointForFunction()
984 void Debug::FloodWithOneShot(Handle<SharedFunctionInfo> shared, in FloodWithOneShot()
1077 Handle<SharedFunctionInfo> shared(function->shared(), isolate_); in PrepareStepIn()
1081 FloodWithOneShot(Handle<SharedFunctionInfo>(function->shared(), isolate_)); in PrepareStepIn()
1095 FloodWithOneShot(Handle<SharedFunctionInfo>(function->shared(), isolate_)); in PrepareStepInSuspendedGenerator()
1115 std::vector<SharedFunctionInfo> infos; in PrepareStepOnThrow()
[all …]
Dliveedit.cc759 Handle<SharedFunctionInfo> shared; in ParseScript()
794 MaybeHandle<SharedFunctionInfo> shared;
810 bool Lookup(SharedFunctionInfo sfi, FunctionData** data) { in Lookup()
831 SharedFunctionInfo sfi = SharedFunctionInfo::cast(obj); in Fill()
837 SharedFunctionInfo sfi = js_function.shared(); in Fill()
844 SharedFunctionInfo sfi = gen.function().shared(); in Fill()
876 FuncId GetFuncId(int script_id, SharedFunctionInfo sfi) { in GetFuncId()
897 std::vector<Handle<SharedFunctionInfo>> sfis; in VisitThread()
919 Handle<SharedFunctionInfo> sfi; in CanPatchScript()
957 void UpdatePositions(Isolate* isolate, Handle<SharedFunctionInfo> sfi, in UpdatePositions()
[all …]
/third_party/node/deps/v8/src/roots/
Droots.h255 V(SharedFunctionInfo, async_function_await_reject_shared_fun, \
257 V(SharedFunctionInfo, async_function_await_resolve_shared_fun, \
259 V(SharedFunctionInfo, async_generator_await_reject_shared_fun, \
261 V(SharedFunctionInfo, async_generator_await_resolve_shared_fun, \
263 V(SharedFunctionInfo, async_generator_yield_resolve_shared_fun, \
265 V(SharedFunctionInfo, async_generator_return_resolve_shared_fun, \
267 V(SharedFunctionInfo, async_generator_return_closed_reject_shared_fun, \
269 V(SharedFunctionInfo, async_generator_return_closed_resolve_shared_fun, \
271 V(SharedFunctionInfo, async_iterator_value_unwrap_shared_fun, \
273 V(SharedFunctionInfo, promise_all_resolve_element_shared_fun, \
[all …]
/third_party/node/deps/v8/src/logging/
Dlog.h94 void LogExistingFunction(Handle<SharedFunctionInfo> shared,
162 SharedFunctionInfo sfi);
176 Handle<SharedFunctionInfo> shared,
179 Handle<SharedFunctionInfo> shared,
197 Handle<SharedFunctionInfo> shared) override;
201 Handle<SharedFunctionInfo> sfi,
271 void LogExistingFunction(Handle<SharedFunctionInfo> shared,
316 Handle<SharedFunctionInfo> shared);
415 Handle<SharedFunctionInfo> shared,
418 Handle<SharedFunctionInfo> shared,
[all …]
Dcode-events.h23 class SharedFunctionInfo; variable
81 Handle<SharedFunctionInfo> shared,
84 Handle<SharedFunctionInfo> shared,
104 Handle<SharedFunctionInfo> shared) = 0;
110 Handle<SharedFunctionInfo> shared,
166 Handle<SharedFunctionInfo> shared, in CodeCreateEvent()
173 Handle<SharedFunctionInfo> shared, Handle<Name> source, in CodeCreateEvent()
230 Handle<SharedFunctionInfo> shared) override { in CodeDisableOptEvent()
242 Handle<SharedFunctionInfo> sfi, in CodeDependencyChangeEvent()
/third_party/node/deps/v8/src/builtins/
Dbuiltins-async-gen.h26 TNode<SharedFunctionInfo> on_resolve_sfi,
27 TNode<SharedFunctionInfo> on_reject_sfi,
32 TNode<SharedFunctionInfo> on_resolve_sfi, in Await()
33 TNode<SharedFunctionInfo> on_reject_sfi, in Await()
48 TNode<SharedFunctionInfo> shared_info);
/third_party/node/deps/v8/src/profiler/
Dprofiler-listener.h43 Handle<SharedFunctionInfo> shared,
46 Handle<SharedFunctionInfo> shared,
64 Handle<SharedFunctionInfo> shared) override;
68 Handle<SharedFunctionInfo> sfi, in CodeDependencyChangeEvent()
94 const char* GetFunctionName(SharedFunctionInfo);
97 Name InferScriptName(Name name, SharedFunctionInfo info);
/third_party/node/deps/v8/src/compiler-dispatcher/
Dlazy-compile-dispatcher.h42 class SharedFunctionInfo; variable
87 void Enqueue(LocalIsolate* isolate, Handle<SharedFunctionInfo> shared_info,
91 bool IsEnqueued(Handle<SharedFunctionInfo> function) const;
95 bool FinishNow(Handle<SharedFunctionInfo> function);
98 void AbortJob(Handle<SharedFunctionInfo> function);
157 Job* GetJobFor(Handle<SharedFunctionInfo> shared,

123456789