Home
last modified time | relevance | path

Searched refs:shared_info (Results 1 – 25 of 54) sorted by relevance

123

/external/v8/src/compiler/
Djs-inlining.cc262 bool NeedsImplicitReceiver(Handle<SharedFunctionInfo> shared_info) { in NeedsImplicitReceiver() argument
264 if (!shared_info->construct_as_builtin()) { in NeedsImplicitReceiver()
265 return !IsDerivedConstructor(shared_info->kind()); in NeedsImplicitReceiver()
320 shared_info_out = p.shared_info(); in DetermineCallTarget()
381 Handle<SharedFunctionInfo> shared_info; in ReduceJSCall() local
385 if (!DetermineCallTarget(node, shared_info)) return NoChange(); in ReduceJSCall()
388 if (!shared_info->IsInlineable()) { in ReduceJSCall()
390 shared_info->DebugName()->ToCString().get(), in ReduceJSCall()
391 info_->shared_info()->DebugName()->ToCString().get()); in ReduceJSCall()
397 !IsConstructable(shared_info->kind())) { in ReduceJSCall()
[all …]
Dframe-states.h78 Handle<SharedFunctionInfo> shared_info) in FrameStateFunctionInfo() argument
82 shared_info_(shared_info) {} in FrameStateFunctionInfo()
86 Handle<SharedFunctionInfo> shared_info() const { return shared_info_; } in shared_info() function
117 MaybeHandle<SharedFunctionInfo> shared_info() const { in shared_info() function
119 : info_->shared_info(); in shared_info()
Dosr.cc19 info->shared_info()->GetBytecodeArray()->parameter_count()), in OsrHelper()
22 info->shared_info()->GetBytecodeArray()->register_count()) + in OsrHelper()
Dframe-states.cc77 Handle<SharedFunctionInfo> shared_info; in operator <<() local
78 if (info.shared_info().ToHandle(&shared_info)) { in operator <<()
79 os << ", " << Brief(*shared_info); in operator <<()
Dgraph-visualizer.cc136 (info->shared_info().is_null() || !info->shared_info()->script()) in JsonPrintAllSourceWithPositions()
138 : handle(Script::cast(info->shared_info()->script()), isolate); in JsonPrintAllSourceWithPositions()
140 info->shared_info().is_null() in JsonPrintAllSourceWithPositions()
142 : info->shared_info()->DebugName()->ToCString(), in JsonPrintAllSourceWithPositions()
143 script, isolate, info->shared_info(), true); in JsonPrintAllSourceWithPositions()
148 Handle<SharedFunctionInfo> shared = inlined[id].shared_info; in JsonPrintAllSourceWithPositions()
177 reinterpret_cast<void*>(info->shared_info()->address()), in GetVisualizerLogFileName()
185 info->shared_info()->script()->IsScript()) { in GetVisualizerLogFileName()
186 Object* source_name = Script::cast(info->shared_info()->script())->name(); in GetVisualizerLogFileName()
Dpipeline-statistics.cc57 source_size_ = static_cast<size_t>(info->shared_info()->SourceSize()); in PipelineStatistics()
59 info->shared_info()->DebugName()->ToCString(); in PipelineStatistics()
Djs-inlining-heuristic.cc46 shared = p.shared_info(); in CollectFunctions()
96 callee, candidate.functions, kMaxCallPolymorphism, candidate.shared_info); in Reduce()
115 ? candidate.shared_info in Reduce()
127 if (frame_info.shared_info().ToHandle(&frame_shared_info) && in Reduce()
609 ? candidate.shared_info in InlineCandidate()
721 ? candidate.shared_info in PrintCandidates()
Dcode-generator.cc170 if (!inlined.shared_info.equals(info->shared_info())) { in AssembleCode()
172 DeoptimizationLiteral(inlined.shared_info)); in AssembleCode()
816 data->SetSharedFunctionInfo(*info->shared_info()); in GenerateDeoptimizationData()
1011 Handle<SharedFunctionInfo> shared_info; in BuildTranslationForFrameStateDescriptor() local
1012 if (!descriptor->shared_info().ToHandle(&shared_info)) { in BuildTranslationForFrameStateDescriptor()
1016 shared_info = info()->shared_info(); in BuildTranslationForFrameStateDescriptor()
1019 DefineDeoptimizationLiteral(DeoptimizationLiteral(shared_info)); in BuildTranslationForFrameStateDescriptor()
/external/v8/src/
Dcompiler.cc141 Handle<SharedFunctionInfo> shared_info, Isolate* isolate) { in FinalizeJob() argument
149 return UpdateState(FinalizeJobImpl(shared_info, isolate), State::kSucceeded); in FinalizeJob()
278 Script::cast(compilation_info()->shared_info()->script()), isolate); in RecordFunctionCompilation()
279 LogFunctionCompilation(tag, compilation_info()->shared_info(), script, in RecordFunctionCompilation()
304 Handle<SharedFunctionInfo> shared_info, in InstallBytecodeArray() argument
307 shared_info->set_bytecode_array(*bytecode_array); in InstallBytecodeArray()
325 shared_info->set_interpreter_data(*interpreter_data); in InstallBytecodeArray()
330 Script::GetLineNumber(script, shared_info->StartPosition()) + 1; in InstallBytecodeArray()
332 Script::GetColumnNumber(script, shared_info->StartPosition()) + 1; in InstallBytecodeArray()
338 PROFILE(isolate, CodeCreateEvent(log_tag, *abstract_code, *shared_info, in InstallBytecodeArray()
[all …]
Doptimized-compilation-info.h74 Handle<SharedFunctionInfo> shared_info() const { return shared_info_; } in shared_info() function
75 bool has_shared_info() const { return !shared_info().is_null(); } in has_shared_info()
247 Handle<SharedFunctionInfo> shared_info; member
253 : shared_info(inlined_shared_info) { in InlinedFunctionHolder()
Doptimized-compilation-info.cc84 shared_info()->DisableOptimization(bailout_reason()); in ~OptimizedCompilationInfo()
110 if (!shared_info().is_null()) { in GetDebugName()
111 return shared_info()->DebugName()->ToCString(); in GetDebugName()
Dcompiler.h73 Handle<SharedFunctionInfo> shared_info,
85 Handle<SharedFunctionInfo> shared_info,
238 FinalizeJob(Handle<SharedFunctionInfo> shared_info, Isolate* isolate);
253 virtual Status FinalizeJobImpl(Handle<SharedFunctionInfo> shared_info,
Ddeoptimizer.h166 Handle<SharedFunctionInfo> shared_info() const { return shared_info_; } in shared_info() function
226 SharedFunctionInfo* shared_info,
229 SharedFunctionInfo* shared_info);
230 static TranslatedFrame ArgumentsAdaptorFrame(SharedFunctionInfo* shared_info,
233 SharedFunctionInfo* shared_info,
236 BailoutId bailout_id, SharedFunctionInfo* shared_info, int height);
238 BailoutId bailout_id, SharedFunctionInfo* shared_info, int height);
240 BailoutId bailout_id, SharedFunctionInfo* shared_info, int height);
247 TranslatedFrame(Kind kind, SharedFunctionInfo* shared_info = nullptr,
251 raw_shared_info_(shared_info), in kind_()
Ddeoptimizer.cc2223 frame_it->shared_info()->internal_formal_parameter_count(); in DeoptimizedFrameInfo()
2235 *frame_it->shared_info(), frame_it->node_id()); in DeoptimizedFrameInfo()
2626 BailoutId bytecode_offset, SharedFunctionInfo* shared_info, int height) { in InterpretedFrame() argument
2627 TranslatedFrame frame(kInterpretedFunction, shared_info, height); in InterpretedFrame()
2634 SharedFunctionInfo* shared_info, int height) { in ArgumentsAdaptorFrame() argument
2635 return TranslatedFrame(kArgumentsAdaptor, shared_info, height); in ArgumentsAdaptorFrame()
2639 BailoutId bailout_id, SharedFunctionInfo* shared_info, int height) { in ConstructStubFrame() argument
2640 TranslatedFrame frame(kConstructStub, shared_info, height); in ConstructStubFrame()
2646 BailoutId bailout_id, SharedFunctionInfo* shared_info, int height) { in BuiltinContinuationFrame() argument
2647 TranslatedFrame frame(kBuiltinContinuation, shared_info, height); in BuiltinContinuationFrame()
[all …]
Dsource-position.cc50 stack.push_back(SourcePositionInfo(pos, inl.shared_info)); in InliningStack()
53 stack.push_back(SourcePositionInfo(pos, cinfo->shared_info())); in InliningStack()
/external/v8/src/parsing/
Dparsing.cc55 bool ParseFunction(ParseInfo* info, Handle<SharedFunctionInfo> shared_info, in ParseFunction() argument
58 DCHECK(!shared_info.is_null()); in ParseFunction()
65 ScannerStream::For(isolate, source, shared_info->StartPosition(), in ParseFunction()
66 shared_info->EndPosition())); in ParseFunction()
77 result = parser.ParseFunction(isolate, info, shared_info); in ParseFunction()
92 bool ParseAny(ParseInfo* info, Handle<SharedFunctionInfo> shared_info, in ParseAny() argument
94 DCHECK(!shared_info.is_null()); in ParseAny()
96 : ParseFunction(info, shared_info, isolate); in ParseAny()
Dparsing.h26 Handle<SharedFunctionInfo> shared_info,
33 Handle<SharedFunctionInfo> shared_info,
/external/v8/src/objects/
Dshared-function-info-inl.h716 Isolate* isolate, Handle<SharedFunctionInfo> shared_info) { in DiscardCompiled() argument
717 DCHECK(shared_info->CanDiscardCompiled()); in DiscardCompiled()
719 int start_position = shared_info->StartPosition(); in DiscardCompiled()
720 int end_position = shared_info->EndPosition(); in DiscardCompiled()
721 int function_literal_id = shared_info->FunctionLiteralId(isolate); in DiscardCompiled()
723 if (shared_info->is_compiled()) { in DiscardCompiled()
727 if (shared_info->scope_info()->HasOuterScopeInfo()) { in DiscardCompiled()
728 outer_scope_info = shared_info->scope_info()->OuterScopeInfo(); in DiscardCompiled()
734 shared_info->set_raw_outer_scope_info_or_feedback_metadata( in DiscardCompiled()
737 DCHECK(shared_info->outer_scope_info()->IsScopeInfo() || in DiscardCompiled()
[all …]
/external/linux-kselftest/tools/testing/selftests/powerpc/ptrace/
Dcore-pkey.c48 struct shared_info { struct
110 static int child(struct shared_info *info) in child()
174 static off_t try_core_file(const char *filename, struct shared_info *info, in try_core_file()
195 static int check_core_file(struct shared_info *info, Elf64_Ehdr *ehdr, in check_core_file()
256 static int parent(struct shared_info *info, pid_t pid) in parent()
422 struct shared_info *info; in core_pkey()
Dptrace-pkey.c37 struct shared_info { struct
74 static int child(struct shared_info *info) in child() argument
186 static int parent(struct shared_info *info, pid_t pid) in parent()
297 struct shared_info *info; in ptrace_pkey()
/external/v8/src/profiler/
Dprofiler-listener.cc229 SharedFunctionInfo* shared_info = SharedFunctionInfo::cast( in RecordInliningInfo() local
234 (shared_info->script()->IsScript() && in RecordInliningInfo()
235 Script::cast(shared_info->script())->name()->IsName()) in RecordInliningInfo()
236 ? GetName(Name::cast(Script::cast(shared_info->script())->name())) in RecordInliningInfo()
240 new CodeEntry(entry->tag(), GetName(shared_info->DebugName()), in RecordInliningInfo()
244 inline_entry->FillFunctionInfo(shared_info); in RecordInliningInfo()
/external/v8/src/debug/
Ddebug-scopes.cc92 Handle<SharedFunctionInfo> shared_info(function_->shared(), isolate_); in TryParseAndRetrieveScopes() local
93 Handle<ScopeInfo> scope_info(shared_info->scope_info(), isolate_); in TryParseAndRetrieveScopes()
94 if (shared_info->script()->IsUndefined(isolate_)) { in TryParseAndRetrieveScopes()
103 if (shared_info->HasBreakInfo() && frame_inspector_ != nullptr) { in TryParseAndRetrieveScopes()
110 Handle<DebugInfo> debug_info(shared_info->GetDebugInfo(), isolate_); in TryParseAndRetrieveScopes()
122 info_ = new ParseInfo(isolate_, shared_info); in TryParseAndRetrieveScopes()
125 Handle<Script> script(Script::cast(shared_info->script()), isolate_); in TryParseAndRetrieveScopes()
134 info_->set_language_mode(shared_info->language_mode()); in TryParseAndRetrieveScopes()
142 if (parsing::ParseAny(info_, shared_info, isolate_) && in TryParseAndRetrieveScopes()
/external/v8/src/builtins/
Dbuiltins-async-gen.cc284 Node* shared_info = LoadContextElement(native_context, context_index); in InitializeNativeClosure() local
285 CSA_ASSERT(this, IsSharedFunctionInfo(shared_info)); in InitializeNativeClosure()
287 function, JSFunction::kSharedFunctionInfoOffset, shared_info); in InitializeNativeClosure()
290 Node* const code = GetSharedFunctionInfoCode(shared_info); in InitializeNativeClosure()
Dbuiltins-function.cc137 Handle<SharedFunctionInfo> shared_info(function->shared(), isolate); in CreateDynamicFunction() local
138 Handle<Map> map = Map::AsLanguageMode(isolate, initial_map, shared_info); in CreateDynamicFunction()
142 map, shared_info, context, NOT_TENURED); in CreateDynamicFunction()
/external/v8/src/interpreter/
Dinterpreter.cc37 Status FinalizeJobImpl(Handle<SharedFunctionInfo> shared_info,
197 Handle<SharedFunctionInfo> shared_info, Isolate* isolate) { in FinalizeJobImpl() argument
210 if (ShouldPrintBytecode(shared_info)) { in FinalizeJobImpl()

123