/external/v8/src/compiler/ |
D | js-inlining.cc | 209 frame_info.shared_info().ToHandle(&shared); in CreateTailCallerFrameState() 239 bool NeedsImplicitReceiver(Handle<SharedFunctionInfo> shared_info) { in NeedsImplicitReceiver() argument 241 Isolate* const isolate = shared_info->GetIsolate(); in NeedsImplicitReceiver() 242 Code* const construct_stub = shared_info->construct_stub(); in NeedsImplicitReceiver() 249 bool IsNonConstructible(Handle<SharedFunctionInfo> shared_info) { in IsNonConstructible() argument 251 Isolate* const isolate = shared_info->GetIsolate(); in IsNonConstructible() 252 Code* const construct_stub = shared_info->construct_stub(); in IsNonConstructible() 277 Handle<SharedFunctionInfo> shared_info(function->shared()); in ReduceJSCall() local 280 if (!shared_info->IsInlineable()) { in ReduceJSCall() 282 shared_info->DebugName()->ToCString().get(), in ReduceJSCall() [all …]
|
D | frame-states.cc | 75 Handle<SharedFunctionInfo> shared_info; in operator <<() local 76 if (info.shared_info().ToHandle(&shared_info)) { in operator <<() 77 os << ", " << Brief(*shared_info); in operator <<()
|
D | frame-states.h | 90 Handle<SharedFunctionInfo> shared_info) in FrameStateFunctionInfo() argument 94 shared_info_(shared_info) {} in FrameStateFunctionInfo() 98 Handle<SharedFunctionInfo> shared_info() const { return shared_info_; } in shared_info() function 128 MaybeHandle<SharedFunctionInfo> shared_info() const { in shared_info() function 130 : info_->shared_info(); in shared_info()
|
D | code-generator.cc | 90 if (!inlined.shared_info.is_identical_to(info->shared_info())) { in GenerateCode() 91 DefineDeoptimizationLiteral(inlined.shared_info); in GenerateCode() 100 if (!inlined.shared_info.is_identical_to(info->shared_info())) { in GenerateCode() 448 data->SetSharedFunctionInfo(*info->shared_info()); in PopulateDeoptimizationData() 636 Handle<SharedFunctionInfo> shared_info; in BuildTranslationForFrameStateDescriptor() local 637 if (!descriptor->shared_info().ToHandle(&shared_info)) { in BuildTranslationForFrameStateDescriptor() 641 shared_info = info()->shared_info(); in BuildTranslationForFrameStateDescriptor() 643 int shared_info_id = DefineDeoptimizationLiteral(shared_info); in BuildTranslationForFrameStateDescriptor()
|
D | pipeline-statistics.cc | 54 source_size_ = static_cast<size_t>(info->shared_info()->SourceSize()); in PipelineStatistics() 56 info->shared_info()->DebugName()->ToCString(); in PipelineStatistics()
|
D | basic-block-instrumentor.cc | 58 if (info->has_shared_info() && info->shared_info()->name()->IsString()) { in Instrument() 60 String::cast(info->shared_info()->name())->PrintUC16(os); in Instrument()
|
D | js-operator.h | 326 CreateClosureParameters(Handle<SharedFunctionInfo> shared_info, in CreateClosureParameters() argument 328 : shared_info_(shared_info), pretenure_(pretenure) {} in CreateClosureParameters() 330 Handle<SharedFunctionInfo> shared_info() const { return shared_info_; } in shared_info() function 419 const Operator* CreateClosure(Handle<SharedFunctionInfo> shared_info,
|
D | js-operator.cc | 320 lhs.shared_info().location() == rhs.shared_info().location(); in operator ==() 331 return base::hash_combine(p.pretenure(), p.shared_info().location()); in hash_value() 336 return os << p.pretenure() << ", " << Brief(*p.shared_info()); in operator <<() 839 Handle<SharedFunctionInfo> shared_info, PretenureFlag pretenure) { in CreateClosure() argument 840 CreateClosureParameters parameters(shared_info, pretenure); in CreateClosure()
|
D | pipeline.cc | 442 start_position_(info->shared_info()->start_position()) {} in AstGraphBuilderWithPositions() 535 int pos = info->shared_info()->start_position(); in CreatePipelineStatistics() 542 int start = info->shared_info()->start_position(); in CreatePipelineStatistics() 543 int len = info->shared_info()->end_position() - start; in CreatePipelineStatistics() 589 if (info()->shared_info()->asm_function()) { in CreateGraphImpl() 600 if (!info()->shared_info()->asm_function() || FLAG_turbo_asm_deoptimization) { in CreateGraphImpl() 730 Handle<Code> code(data->info()->shared_info()->code(), data->isolate()); in Run() 889 if (data->info()->shared_info()->HasBytecodeArray()) { in Run()
|
D | js-create-lowering.cc | 293 Handle<SharedFunctionInfo> shared_info; in ReduceJSCreateArguments() local 294 if (!state_info.shared_info().ToHandle(&shared_info) || in ReduceJSCreateArguments() 295 shared_info->has_duplicate_parameters()) { in ReduceJSCreateArguments() 341 if (!state_info.shared_info().ToHandle(&shared)) return NoChange(); in ReduceJSCreateArguments() 416 if (!state_info.shared_info().ToHandle(&shared)) return NoChange(); in ReduceJSCreateArguments() 551 Handle<SharedFunctionInfo> shared = p.shared_info(); in ReduceJSCreateClosure()
|
D | js-generic-lowering.cc | 464 Handle<SharedFunctionInfo> const shared_info = p.shared_info(); in LowerJSCreateClosure() local 465 node->InsertInput(zone(), 0, jsgraph()->HeapConstant(shared_info)); in LowerJSCreateClosure() 470 isolate(), shared_info->language_mode(), shared_info->kind()); in LowerJSCreateClosure()
|
/external/v8/src/ |
D | compiler.cc | 57 PARSE_INFO_GETTER(Handle<SharedFunctionInfo>, shared_info) 93 return parse_info_ && !parse_info_->shared_info().is_null(); in has_shared_info() 171 !shared_info()->optimization_disabled(); in ShouldSelfOptimize() 185 if (parse_info() && !parse_info()->shared_info().is_null()) { in GetDebugName() 186 return parse_info()->shared_info()->DebugName()->ToCString(); in GetDebugName() 388 Handle<SharedFunctionInfo> shared = info->shared_info(); in RecordFunctionCompilation() 421 if (info->shared_info()->feedback_metadata()->length() == 0 || in EnsureFeedbackMetadata() 422 !info->shared_info()->is_compiled()) { in EnsureFeedbackMetadata() 425 info->shared_info()->set_feedback_metadata(*feedback_metadata); in EnsureFeedbackMetadata() 430 CHECK(!info->shared_info()->feedback_metadata()->SpecDiffersFrom( in EnsureFeedbackMetadata() [all …]
|
D | compiler.h | 166 Handle<SharedFunctionInfo> shared_info() const; 406 Handle<SharedFunctionInfo> shared_info; member 415 : shared_info(inlined_shared_info), in InlinedFunctionHolder() 445 if (!shared_info()->dont_crankshaft() && in DisableFutureOptimization() 447 shared_info()->set_dont_crankshaft(true); in DisableFutureOptimization() 450 shared_info()->ShortPrint(); in DisableFutureOptimization() 454 shared_info()->DisableOptimization(bailout_reason()); in DisableFutureOptimization()
|
D | deoptimizer.cc | 2683 frame_it->shared_info()->internal_formal_parameter_count(); in DeoptimizedFrameInfo() 2696 *frame_it->shared_info(), frame_it->node_id()); in DeoptimizedFrameInfo() 2713 frame_it->shared_info()->internal_formal_parameter_count() + 2; in DeoptimizedFrameInfo() 3097 SharedFunctionInfo* shared_info, in JSFrame() argument 3099 TranslatedFrame frame(kFunction, shared_info->GetIsolate(), shared_info, in JSFrame() 3107 BailoutId bytecode_offset, SharedFunctionInfo* shared_info, int height) { in InterpretedFrame() argument 3108 TranslatedFrame frame(kInterpretedFunction, shared_info->GetIsolate(), in InterpretedFrame() 3109 shared_info, height); in InterpretedFrame() 3116 Kind kind, SharedFunctionInfo* shared_info) { in AccessorFrame() argument 3118 return TranslatedFrame(kind, shared_info->GetIsolate(), shared_info); in AccessorFrame() [all …]
|
D | deoptimizer.h | 135 Handle<SharedFunctionInfo> shared_info() const { return shared_info_; } in shared_info() function 187 SharedFunctionInfo* shared_info, int height); 189 SharedFunctionInfo* shared_info, 192 SharedFunctionInfo* shared_info); 193 static TranslatedFrame ArgumentsAdaptorFrame(SharedFunctionInfo* shared_info, 195 static TranslatedFrame TailCallerFrame(SharedFunctionInfo* shared_info); 196 static TranslatedFrame ConstructStubFrame(SharedFunctionInfo* shared_info, 208 SharedFunctionInfo* shared_info = nullptr, int height = 0) 211 raw_shared_info_(shared_info), in kind_()
|
D | codegen.cc | 164 Handle<SharedFunctionInfo> shared = info->shared_info(); in PrintCode() 193 Handle<SharedFunctionInfo> shared = info->shared_info(); in PrintCode()
|
/external/v8/src/heap/ |
D | objects-visiting-inl.h | 569 SharedFunctionInfo* shared_info = function->shared(); in IsFlushable() local 579 if (function->code() != shared_info->code()) { in IsFlushable() 588 return IsFlushable(heap, shared_info); in IsFlushable() 594 Heap* heap, SharedFunctionInfo* shared_info) { in IsFlushable() argument 597 MarkBit code_mark = Marking::MarkBitFrom(shared_info->code()); in IsFlushable() 604 if (!(shared_info->is_compiled() && HasSourceCode(heap, shared_info))) { in IsFlushable() 609 if (shared_info->IsApiFunction()) { in IsFlushable() 614 if (shared_info->code()->kind() != Code::FUNCTION) { in IsFlushable() 619 if (!shared_info->allows_lazy_compilation()) { in IsFlushable() 626 if (shared_info->is_resumable()) { in IsFlushable() [all …]
|
D | mark-compact-inl.h | 72 void CodeFlusher::AddCandidate(SharedFunctionInfo* shared_info) { in AddCandidate() argument 73 if (GetNextCandidate(shared_info) == nullptr) { in AddCandidate() 74 SetNextCandidate(shared_info, shared_function_info_candidates_head_); in AddCandidate() 75 shared_function_info_candidates_head_ = shared_info; in AddCandidate()
|
/external/v8/src/debug/ |
D | liveedit.cc | 861 Handle<SharedFunctionInfo> shared_info, in PatchLiterals() argument 864 int old_literal_count = shared_info->num_literals(); in PatchLiterals() 870 IterateJSFunctions(shared_info, &visitor); in PatchLiterals() 876 CollectJSFunctions(shared_info, isolate); in PatchLiterals() 878 shared_info->feedback_metadata()); in PatchLiterals() 889 shared_info->set_num_literals(new_literal_count); in PatchLiterals() 897 static void IterateJSFunctions(Handle<SharedFunctionInfo> shared_info, in IterateJSFunctions() argument 899 HeapIterator iterator(shared_info->GetHeap()); in IterateJSFunctions() 904 if (function->shared() == *shared_info) { in IterateJSFunctions() 914 Handle<SharedFunctionInfo> shared_info, Isolate* isolate) { in CollectJSFunctions() argument [all …]
|
D | debug-scopes.cc | 35 Handle<SharedFunctionInfo> shared_info(function->shared()); in ScopeIterator() local 36 Handle<ScopeInfo> scope_info(shared_info->scope_info()); in ScopeIterator() 37 if (shared_info->script()->IsUndefined(isolate)) { in ScopeIterator() 52 if (!ignore_nested_scopes && shared_info->HasDebugInfo()) { in ScopeIterator() 59 Handle<DebugInfo> debug_info(shared_info->GetDebugInfo()); in ScopeIterator() 77 shared_info->start_position(), in ScopeIterator() 78 shared_info->end_position())); in ScopeIterator() 89 Handle<Script> script(Script::cast(shared_info->script())); in ScopeIterator()
|
/external/v8/src/runtime/ |
D | runtime-liveedit.cc | 108 CONVERT_ARG_HANDLE_CHECKED(JSArray, shared_info, 0); in RUNTIME_FUNCTION() 109 RUNTIME_ASSERT(SharedInfoWrapper::IsInstance(shared_info)); in RUNTIME_FUNCTION() 111 LiveEdit::FunctionSourceUpdated(shared_info); in RUNTIME_FUNCTION() 122 CONVERT_ARG_HANDLE_CHECKED(JSArray, shared_info, 1); in RUNTIME_FUNCTION() 123 RUNTIME_ASSERT(SharedInfoWrapper::IsInstance(shared_info)); in RUNTIME_FUNCTION() 125 LiveEdit::ReplaceFunctionCode(new_compile_info, shared_info); in RUNTIME_FUNCTION()
|
/external/v8/src/crankshaft/ |
D | lithium-codegen.cc | 220 : info()->shared_info()); in WriteTranslationFrame() 233 : info()->shared_info()); in WriteTranslationFrame() 248 : info()->shared_info()); in WriteTranslationFrame() 263 : info()->shared_info()); in WriteTranslationFrame() 277 : info()->shared_info()); in WriteTranslationFrame() 290 : info()->shared_info()); in WriteTranslationFrame() 321 data->SetSharedFunctionInfo(*info_->shared_info()); in PopulateDeoptimizationData()
|
D | compilation-phase.cc | 37 info()->shared_info()->PassesFilter(FLAG_trace_hydrogen_filter)); in ShouldProduceTraceOutput()
|
/external/v8/src/profiler/ |
D | profiler-listener.cc | 248 SharedFunctionInfo* shared_info = SharedFunctionInfo::cast( in RecordInliningInfo() local 252 entry->tag(), GetFunctionName(shared_info->DebugName()), in RecordInliningInfo() 256 inline_entry->FillFunctionInfo(shared_info); in RecordInliningInfo()
|
/external/v8/src/parsing/ |
D | parser.cc | 1016 Handle<SharedFunctionInfo> shared_info = info->shared_info(); in ParseLazy() local 1024 shared_info->start_position(), in ParseLazy() 1025 shared_info->end_position()); in ParseLazy() 1029 shared_info->start_position(), in ParseLazy() 1030 shared_info->end_position()); in ParseLazy() 1044 Handle<SharedFunctionInfo> shared_info) { in ComputeFunctionType() argument 1045 if (shared_info->is_declaration()) { in ComputeFunctionType() 1047 } else if (shared_info->is_named_expression()) { in ComputeFunctionType() 1049 } else if (IsConciseMethod(shared_info->kind()) || in ComputeFunctionType() 1050 IsAccessorFunction(shared_info->kind())) { in ComputeFunctionType() [all …]
|