Home
last modified time | relevance | path

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

123456789

/external/v8/src/objects/
Dshared-function-info-inl.h97 OBJECT_CONSTRUCTORS_IMPL(SharedFunctionInfo, HeapObject) in TQ_OBJECT_CONSTRUCTORS_IMPL()
98 NEVER_READ_ONLY_SPACE_IMPL(SharedFunctionInfo) in TQ_OBJECT_CONSTRUCTORS_IMPL()
99 CAST_ACCESSOR(SharedFunctionInfo) in TQ_OBJECT_CONSTRUCTORS_IMPL()
100 DEFINE_DEOPT_ELEMENT_ACCESSORS(SharedFunctionInfo, Object) in TQ_OBJECT_CONSTRUCTORS_IMPL()
102 RELEASE_ACQUIRE_ACCESSORS(SharedFunctionInfo, function_data, Object, in TQ_OBJECT_CONSTRUCTORS_IMPL()
104 RELEASE_ACQUIRE_ACCESSORS(SharedFunctionInfo, name_or_scope_info, Object, in TQ_OBJECT_CONSTRUCTORS_IMPL()
106 RELEASE_ACQUIRE_ACCESSORS(SharedFunctionInfo, script_or_debug_info, HeapObject, in TQ_OBJECT_CONSTRUCTORS_IMPL()
109 INT32_ACCESSORS(SharedFunctionInfo, function_literal_id, in TQ_OBJECT_CONSTRUCTORS_IMPL()
113 INT_ACCESSORS(SharedFunctionInfo, unique_id, kUniqueIdOffset) in TQ_OBJECT_CONSTRUCTORS_IMPL()
115 UINT16_ACCESSORS(SharedFunctionInfo, length, kLengthOffset) in TQ_OBJECT_CONSTRUCTORS_IMPL()
[all …]
Dshared-function-info.cc18 V8_EXPORT_PRIVATE constexpr Smi SharedFunctionInfo::kNoSharedNameSentinel;
20 uint32_t SharedFunctionInfo::Hash() { in Hash()
29 void SharedFunctionInfo::Init(ReadOnlyRoots ro_roots, int unique_id) { in Init()
38 set_name_or_scope_info(SharedFunctionInfo::kNoSharedNameSentinel, in Init()
69 Code SharedFunctionInfo::GetCode() const { in GetCode()
114 WasmExportedFunctionData SharedFunctionInfo::wasm_exported_function_data() in wasm_exported_function_data()
120 WasmJSFunctionData SharedFunctionInfo::wasm_js_function_data() const { in wasm_js_function_data()
125 WasmCapiFunctionData SharedFunctionInfo::wasm_capi_function_data() const { in wasm_capi_function_data()
130 SharedFunctionInfo::ScriptIterator::ScriptIterator(Isolate* isolate, in ScriptIterator()
134 SharedFunctionInfo::ScriptIterator::ScriptIterator( in ScriptIterator()
[all …]
Dcompilation-cache-table.h33 SharedFunctionInfo shared,
51 inline InfoCellPair(Isolate* isolate, SharedFunctionInfo shared,
58 SharedFunctionInfo shared() const { in shared()
75 SharedFunctionInfo shared_;
87 static MaybeHandle<SharedFunctionInfo> LookupScript( in EXTERN_DECLARE_HASH_TABLE()
93 Handle<SharedFunctionInfo> value); in EXTERN_DECLARE_HASH_TABLE()
108 Handle<SharedFunctionInfo> shared, in EXTERN_DECLARE_HASH_TABLE()
113 Handle<SharedFunctionInfo> outer_info, Handle<SharedFunctionInfo> value, in EXTERN_DECLARE_HASH_TABLE()
125 MaybeHandle<Code> LookupCode(Handle<SharedFunctionInfo> key); in EXTERN_DECLARE_HASH_TABLE()
128 Handle<SharedFunctionInfo> key, Handle<Code> value); in EXTERN_DECLARE_HASH_TABLE()
Dcompilation-cache-table.cc144 StringSharedKey(Handle<String> source, Handle<SharedFunctionInfo> shared, in StringSharedKey()
161 SharedFunctionInfo shared = SharedFunctionInfo::cast(other_array.get(0)); in IsMatch()
185 Handle<SharedFunctionInfo> shared_;
217 explicit CodeKey(Handle<SharedFunctionInfo> key) in CodeKey()
222 Handle<SharedFunctionInfo> key_;
227 MaybeHandle<SharedFunctionInfo> CompilationCacheTable::LookupScript( in LookupScript()
234 Handle<SharedFunctionInfo> shared(native_context->empty_function().shared(), in LookupScript()
240 if (entry.is_not_found()) return MaybeHandle<SharedFunctionInfo>(); in LookupScript()
243 return MaybeHandle<SharedFunctionInfo>(); in LookupScript()
247 return handle(SharedFunctionInfo::cast(obj), native_context->GetIsolate()); in LookupScript()
[all …]
Dshared-function-info.h173 class SharedFunctionInfo : public HeapObject {
511 static Handle<Object> GetSourceCode(Handle<SharedFunctionInfo> shared);
512 static Handle<Object> GetSourceCodeHarmony(Handle<SharedFunctionInfo> shared);
531 Isolate* isolate, Handle<SharedFunctionInfo> shared_info);
571 Handle<SharedFunctionInfo> shared_info,
585 Isolate* isolate, Handle<SharedFunctionInfo> shared_info);
602 DECL_PRINTER(SharedFunctionInfo)
603 DECL_VERIFIER(SharedFunctionInfo)
618 V8_EXPORT_PRIVATE SharedFunctionInfo Next();
629 DECL_CAST(SharedFunctionInfo)
[all …]
Dosr-optimized-code-cache.h34 Handle<SharedFunctionInfo> shared,
45 Code GetOptimizedCode(Handle<SharedFunctionInfo> shared, BailoutId osr_offset,
60 SharedFunctionInfo GetSFIFromEntry(int index);
63 inline int FindEntry(Handle<SharedFunctionInfo> shared, BailoutId osr_offset);
65 inline void InitializeEntry(int entry, SharedFunctionInfo shared, Code code,
Dcompilation-cache-table-inl.h34 SharedFunctionInfo shared, in StringSharedHash()
60 return SharedFunctionInfo::cast(object).Hash(); in HashForObject()
67 SharedFunctionInfo shared = SharedFunctionInfo::cast(val.get(0)); in HashForObject()
83 InfoCellPair::InfoCellPair(Isolate* isolate, SharedFunctionInfo shared, in InfoCellPair()
/external/v8/src/codegen/
Dcompilation-cache.h58 void Remove(Handle<SharedFunctionInfo> function_info);
84 MaybeHandle<SharedFunctionInfo> Lookup(Handle<String> source,
93 Handle<SharedFunctionInfo> function_info);
98 bool HasOrigin(Handle<SharedFunctionInfo> function_info,
123 Handle<SharedFunctionInfo> outer_info,
127 void Put(Handle<String> source, Handle<SharedFunctionInfo> outer_info,
128 Handle<SharedFunctionInfo> function_info,
162 MaybeHandle<Code> Lookup(Handle<SharedFunctionInfo> key);
163 void Put(Handle<SharedFunctionInfo> key, Handle<Code> value);
173 static void TraceInsertion(Handle<SharedFunctionInfo> key,
[all …]
Dcompiler.h68 static bool Compile(Handle<SharedFunctionInfo> shared,
80 Handle<SharedFunctionInfo> shared);
82 V8_WARN_UNUSED_RESULT static MaybeHandle<SharedFunctionInfo>
88 BackgroundCompileTask* task, Handle<SharedFunctionInfo> shared_info,
111 Handle<String> source, Handle<SharedFunctionInfo> outer_info,
160 static MaybeHandle<SharedFunctionInfo> GetSharedFunctionInfoForScript(
173 static MaybeHandle<SharedFunctionInfo> GetSharedFunctionInfoForStreamedScript(
181 static Handle<SharedFunctionInfo> GetSharedFunctionInfo(
266 FinalizeJob(Handle<SharedFunctionInfo> shared_info, Isolate* isolate);
272 FinalizeJob(Handle<SharedFunctionInfo> shared_info, LocalIsolate* isolate);
[all …]
Dcompilation-cache.cc99 void CompilationSubCache::Remove(Handle<SharedFunctionInfo> function_info) { in Remove()
117 bool CompilationCacheScript::HasOrigin(Handle<SharedFunctionInfo> function_info, in HasOrigin()
147 MaybeHandle<SharedFunctionInfo> CompilationCacheScript::Lookup( in Lookup()
151 MaybeHandle<SharedFunctionInfo> result; in Lookup()
160 MaybeHandle<SharedFunctionInfo> probe = CompilationCacheTable::LookupScript( in Lookup()
162 Handle<SharedFunctionInfo> function_info; in Lookup()
176 Handle<SharedFunctionInfo> function_info; in Lookup()
195 Handle<SharedFunctionInfo> function_info) { in Put()
203 Handle<SharedFunctionInfo> outer_info, in Lookup()
226 Handle<SharedFunctionInfo> outer_info, in Put()
[all …]
Dsource-position.cc72 Handle<SharedFunctionInfo> function( in InliningStack()
77 Handle<SharedFunctionInfo> function( in InliningStack()
78 SharedFunctionInfo::cast(deopt_data->SharedFunctionInfo()), isolate); in InliningStack()
84 SharedFunctionInfo function) const { in Print()
118 SharedFunctionInfo function( in Print()
119 SharedFunctionInfo::cast(deopt_data.SharedFunctionInfo())); in Print()
126 SharedFunctionInfo function = in Print()
136 Handle<SharedFunctionInfo> f) in SourcePositionInfo()
Dcompiler.cc204 Handle<SharedFunctionInfo> shared, in LogFunctionCompilation()
277 Handle<SharedFunctionInfo> shared_info, Isolate* isolate) { in FinalizeJob()
289 Handle<SharedFunctionInfo> shared_info, LocalIsolate* isolate) { in FinalizeJob()
299 Handle<SharedFunctionInfo> shared_info) { in RecordUnoptimizedCompilationStats()
318 Handle<SharedFunctionInfo> shared, base::TimeDelta time_taken_to_execute, in RecordUnoptimizedFunctionCompilation()
494 Handle<SharedFunctionInfo> shared_info) { in InstallInterpreterTrampolineCopy()
533 Handle<SharedFunctionInfo> shared_info, in InstallUnoptimizedCode()
562 Handle<SharedFunctionInfo> shared_info, in LogUnoptimizedCompilation()
597 SharedFunctionInfo shared_info) { in UpdateSharedFunctionFlagsAfterCompilation()
620 UnoptimizedCompilationJob* job, Handle<SharedFunctionInfo> shared_info, in FinalizeSingleUnoptimizedCompilationJob()
[all …]
/external/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);
55 TNode<SharedFunctionInfo> on_resolve_sfi,
56 TNode<SharedFunctionInfo> on_reject_sfi,
62 TNode<SharedFunctionInfo> on_resolve_sfi,
63 TNode<SharedFunctionInfo> on_reject_sfi,
/external/v8/src/snapshot/
Dcode-serializer.cc43 Handle<SharedFunctionInfo> info) { in Serialize()
88 Handle<SharedFunctionInfo> info) { in SerializeSharedFunctionInfo()
160 Handle<SharedFunctionInfo> sfi = Handle<SharedFunctionInfo>::cast(obj); in SerializeObjectImpl()
226 Handle<SharedFunctionInfo> sfi, in CreateInterpreterDataForDeserializedCode()
233 SharedFunctionInfo::ScriptIterator iter(isolate, *script); in CreateInterpreterDataForDeserializedCode()
234 for (SharedFunctionInfo shared_info = iter.Next(); !shared_info.is_null(); in CreateInterpreterDataForDeserializedCode()
237 Handle<SharedFunctionInfo> info = handle(shared_info, isolate); in CreateInterpreterDataForDeserializedCode()
272 MaybeHandle<SharedFunctionInfo> maybe_result() const { return maybe_result_; } in maybe_result()
276 MaybeHandle<SharedFunctionInfo> local_maybe_result = in Run()
287 MaybeHandle<SharedFunctionInfo> maybe_result_;
[all …]
Dobject-deserializer.h14 class SharedFunctionInfo; variable
19 static MaybeHandle<SharedFunctionInfo> DeserializeSharedFunctionInfo(
21 static MaybeHandle<SharedFunctionInfo> DeserializeSharedFunctionInfoOffThread(
/external/v8/src/debug/
Ddebug-coverage.cc21 : public base::TemplateHashMapImpl<SharedFunctionInfo, uint32_t,
25 using Entry = base::TemplateHashMapEntry<SharedFunctionInfo, uint32_t>;
26 inline void Add(SharedFunctionInfo key, uint32_t count) { in Add()
36 inline uint32_t Get(SharedFunctionInfo key) { in Get()
43 static uint32_t Hash(SharedFunctionInfo key) { in Hash()
51 int StartPosition(SharedFunctionInfo info) { in StartPosition()
70 std::vector<CoverageBlock> GetSortedBlockData(SharedFunctionInfo shared) { in GetSortedBlockData()
382 void ResetAllBlockCounts(SharedFunctionInfo shared) { in ResetAllBlockCounts()
414 SharedFunctionInfo info, in CollectBlockCoverageInternal()
471 void CollectBlockCoverage(CoverageFunction* function, SharedFunctionInfo info, in CollectBlockCoverage()
[all …]
Ddebug.h236 bool SetBreakpoint(Handle<SharedFunctionInfo> shared,
246 bool SetBreakpointForFunction(Handle<SharedFunctionInfo> shared,
269 void DeoptimizeFunction(Handle<SharedFunctionInfo> shared);
270 void PrepareFunctionForDebugExecution(Handle<SharedFunctionInfo> shared);
276 bool IsBlackboxed(Handle<SharedFunctionInfo> shared);
279 bool CanBreakAtEntry(Handle<SharedFunctionInfo> shared);
284 bool EnsureBreakInfo(Handle<SharedFunctionInfo> shared);
285 void CreateBreakInfo(Handle<SharedFunctionInfo> shared);
286 Handle<DebugInfo> GetOrCreateDebugInfo(Handle<SharedFunctionInfo> shared);
288 void InstallCoverageInfo(Handle<SharedFunctionInfo> shared,
[all …]
Dliveedit.cc754 Handle<SharedFunctionInfo> shared; in ParseScript()
791 MaybeHandle<SharedFunctionInfo> shared;
816 bool Lookup(SharedFunctionInfo sfi, FunctionData** data) { in Lookup()
837 SharedFunctionInfo sfi = SharedFunctionInfo::cast(obj); in Fill()
843 SharedFunctionInfo sfi = js_function.shared(); in Fill()
850 SharedFunctionInfo sfi = gen.function().shared(); in Fill()
874 std::vector<Handle<SharedFunctionInfo>> sfis; in Fill()
909 FuncId GetFuncId(int script_id, SharedFunctionInfo sfi) { in GetFuncId()
930 std::vector<Handle<SharedFunctionInfo>> sfis; in VisitThread()
953 Handle<SharedFunctionInfo> sfi; in CanPatchScript()
[all …]
Ddebug.cc439 Handle<SharedFunctionInfo> shared(break_target->shared(), isolate_); in Break()
607 bool Debug::SetBreakpoint(Handle<SharedFunctionInfo> shared, in SetBreakpoint()
652 Handle<SharedFunctionInfo> shared = Handle<SharedFunctionInfo>::cast(result); in SetBreakPointForScript()
755 Handle<SharedFunctionInfo> shared = handle(function->shared(), isolate_); in GetFunctionDebuggingId()
765 bool Debug::SetBreakpointForFunction(Handle<SharedFunctionInfo> shared, in SetBreakpointForFunction()
848 void Debug::FloodWithOneShot(Handle<SharedFunctionInfo> shared, in FloodWithOneShot()
934 Handle<SharedFunctionInfo> shared(function->shared(), isolate_); in PrepareStepIn()
938 FloodWithOneShot(Handle<SharedFunctionInfo>(function->shared(), isolate_)); in PrepareStepIn()
951 FloodWithOneShot(Handle<SharedFunctionInfo>(function->shared(), isolate_)); in PrepareStepInSuspendedGenerator()
970 std::vector<SharedFunctionInfo> infos; in PrepareStepOnThrow()
[all …]
/external/v8/src/roots/
Droots.h241 V(SharedFunctionInfo, async_function_await_reject_shared_fun, \
243 V(SharedFunctionInfo, async_function_await_resolve_shared_fun, \
245 V(SharedFunctionInfo, async_generator_await_reject_shared_fun, \
247 V(SharedFunctionInfo, async_generator_await_resolve_shared_fun, \
249 V(SharedFunctionInfo, async_generator_yield_resolve_shared_fun, \
251 V(SharedFunctionInfo, async_generator_return_resolve_shared_fun, \
253 V(SharedFunctionInfo, async_generator_return_closed_reject_shared_fun, \
255 V(SharedFunctionInfo, async_generator_return_closed_resolve_shared_fun, \
257 V(SharedFunctionInfo, async_iterator_value_unwrap_shared_fun, \
259 V(SharedFunctionInfo, promise_all_resolve_element_shared_fun, \
[all …]
/external/v8/src/profiler/
Dprofiler-listener.h38 Handle<SharedFunctionInfo> shared,
41 Handle<SharedFunctionInfo> shared,
55 Handle<SharedFunctionInfo> shared) override;
59 Handle<SharedFunctionInfo> sfi, in CodeDependencyChangeEvent()
79 const char* GetFunctionName(SharedFunctionInfo);
82 Name InferScriptName(Name name, SharedFunctionInfo info);
/external/v8/src/logging/
Dlog.h96 void LogExistingFunction(Handle<SharedFunctionInfo> shared,
176 SharedFunctionInfo sfi);
198 Handle<SharedFunctionInfo> shared,
201 Handle<SharedFunctionInfo> shared,
215 Handle<SharedFunctionInfo> shared) override;
219 Handle<SharedFunctionInfo> sfi,
268 void LogExistingFunction(Handle<SharedFunctionInfo> shared,
399 Handle<SharedFunctionInfo> shared,
402 Handle<SharedFunctionInfo> shared,
417 Handle<SharedFunctionInfo> sfi, in CodeDependencyChangeEvent()
[all …]
Dcode-events.h23 class SharedFunctionInfo; variable
80 Handle<SharedFunctionInfo> shared,
83 Handle<SharedFunctionInfo> shared,
99 Handle<SharedFunctionInfo> shared) = 0;
106 Handle<SharedFunctionInfo> shared,
157 Handle<SharedFunctionInfo> shared, in CodeCreateEvent()
164 Handle<SharedFunctionInfo> shared, Handle<Name> source, in CodeCreateEvent()
212 Handle<SharedFunctionInfo> shared) override { in CodeDisableOptEvent()
224 Handle<SharedFunctionInfo> sfi, in CodeDependencyChangeEvent()
/external/v8/src/compiler-dispatcher/
Dcompiler-dispatcher.h41 class SharedFunctionInfo; variable
91 void RegisterSharedFunctionInfo(JobId job_id, SharedFunctionInfo function);
97 bool IsEnqueued(Handle<SharedFunctionInfo> function) const;
101 bool FinishNow(Handle<SharedFunctionInfo> function);
133 MaybeHandle<SharedFunctionInfo> function;
142 JobMap::const_iterator GetJobFor(Handle<SharedFunctionInfo> shared) const;
/external/v8/src/parsing/
Dparsing.h14 class SharedFunctionInfo; variable
39 Handle<SharedFunctionInfo> shared_info,
47 Handle<SharedFunctionInfo> shared_info,

123456789