/external/v8/src/ |
D | compiler.cc | 68 CompilationInfo::CompilationInfo(Handle<SharedFunctionInfo> shared_info) in CompilationInfo() argument 69 : isolate_(shared_info->GetIsolate()), in CompilationInfo() 75 shared_info_(shared_info), in CompilationInfo() 76 script_(Handle<Script>(Script::cast(shared_info->script()))), in CompilationInfo() 122 (shared_info().is_null() || !shared_info()->optimization_disabled()); in ShouldSelfOptimize() 127 Handle<Code> code(shared_info()->code()); in AbortOptimization() 198 Handle<Code> code(info->shared_info()->code()); in MakeCrankshaftCode() 203 ASSERT(!info->shared_info()->optimization_disabled()); in MakeCrankshaftCode() 217 if (info->shared_info()->opt_count() > kMaxOptCount) { in MakeCrankshaftCode() 219 info->shared_info()->DisableOptimization(); in MakeCrankshaftCode() [all …]
|
D | liveedit.cc | 1085 Handle<SharedFunctionInfo> shared_info = shared_info_wrapper.GetInfo(); in ReplaceFunctionCode() local 1089 if (IsJSFunctionCode(shared_info->code())) { in ReplaceFunctionCode() 1091 ReplaceCodeObject(shared_info->code(), *code); in ReplaceFunctionCode() 1094 shared_info->set_scope_info(ScopeInfo::cast(*code_scope_info)); in ReplaceFunctionCode() 1098 if (shared_info->debug_info()->IsDebugInfo()) { in ReplaceFunctionCode() 1099 Handle<DebugInfo> debug_info(DebugInfo::cast(shared_info->debug_info())); in ReplaceFunctionCode() 1107 shared_info->set_start_position(start_position); in ReplaceFunctionCode() 1108 shared_info->set_end_position(end_position); in ReplaceFunctionCode() 1110 shared_info->set_construct_stub( in ReplaceFunctionCode() 1114 DeoptimizeDependentFunctions(*shared_info); in ReplaceFunctionCode() [all …]
|
D | mark-compact.cc | 770 void AddCandidate(SharedFunctionInfo* shared_info) { in AddCandidate() argument 771 SetNextCandidate(shared_info, shared_function_info_candidates_head_); in AddCandidate() 772 shared_function_info_candidates_head_ = shared_info; in AddCandidate() 1222 SharedFunctionInfo* shared_info = function->unchecked_shared(); in IsFlushable() local 1228 if (!Marking::MarkBitFrom(shared_info).Get()) { in IsFlushable() 1229 shared_info->set_code_age(0); in IsFlushable() 1235 if (function->code() != shared_info->code()) { in IsFlushable() 1239 return IsFlushable(heap, shared_info); in IsFlushable() 1242 inline static bool IsFlushable(Heap* heap, SharedFunctionInfo* shared_info) { in IsFlushable() argument 1246 Marking::MarkBitFrom(shared_info->code()); in IsFlushable() [all …]
|
D | compiler.h | 45 explicit CompilationInfo(Handle<SharedFunctionInfo> shared_info); 66 Handle<SharedFunctionInfo> shared_info() const { return shared_info_; } in shared_info() function
|
D | parser.cc | 608 Handle<SharedFunctionInfo> shared = info->shared_info(); in DoParseProgram() 668 Handle<SharedFunctionInfo> shared_info = info->shared_info(); in ParseLazy() local 674 shared_info->start_position(), in ParseLazy() 675 shared_info->end_position()); in ParseLazy() 680 shared_info->start_position(), in ParseLazy() 681 shared_info->end_position()); in ParseLazy() 691 Handle<SharedFunctionInfo> shared_info = info->shared_info(); in ParseLazy() local 696 Handle<String> name(String::cast(shared_info->name())); in ParseLazy() 716 ASSERT(info->language_mode() == shared_info->language_mode()); in ParseLazy() 717 scope->SetLanguageMode(shared_info->language_mode()); in ParseLazy() [all …]
|
D | debug.cc | 1242 Handle<SharedFunctionInfo> shared_info(JSFunction::cast(*bindee)->shared()); in FloodBoundFunctionWithOneShot() local 1243 Debug::FloodWithOneShot(shared_info); in FloodBoundFunctionWithOneShot() 1681 Handle<SharedFunctionInfo> shared_info( in HandleStepIn() local 1683 Debug::FloodWithOneShot(shared_info); in HandleStepIn() 1769 ASSERT(!info.shared_info()->is_compiled()); in CompileFullCodeForDebugging()
|
D | runtime.cc | 10934 Handle<SharedFunctionInfo> shared_info(function_->shared()); in ScopeIterator() local 10935 Handle<ScopeInfo> scope_info(shared_info->scope_info()); in ScopeIterator() 10936 if (shared_info->script() == isolate->heap()->undefined_value()) { in ScopeIterator() 10944 if (!isolate->debug()->EnsureDebugInfo(shared_info)) { in ScopeIterator() 10948 Handle<DebugInfo> debug_info = Debug::GetDebugInfo(shared_info); in ScopeIterator() 10970 Handle<Script> script(Script::cast(shared_info->script())); in ScopeIterator() 10974 Handle<ScopeInfo> scope_info(shared_info->scope_info()); in ScopeIterator() 10990 CompilationInfo info(shared_info); in ScopeIterator() 10998 int source_position = shared_info->code()->SourcePosition(frame_->pc()); in ScopeIterator() 12428 CONVERT_ARG_HANDLE_CHECKED(JSArray, shared_info, 0); in RUNTIME_FUNCTION() [all …]
|
D | hydrogen.cc | 1631 return info()->shared_info()->opt_count() + 1 < Compiler::kDefaultMaxOptCount; in AllowCodeMotion() 2386 info()->shared_info()->DebugName()->ToCString()); in Bailout() 3479 Handle<SharedFunctionInfo> shared_info = in VisitFunctionLiteral() local 3480 SearchSharedFunctionInfo(info()->shared_info()->code(), in VisitFunctionLiteral() 3482 if (shared_info.is_null()) { in VisitFunctionLiteral() 3483 shared_info = Compiler::BuildFunctionInfo(expr, info()->script()); in VisitFunctionLiteral() 3489 new(zone()) HFunctionLiteral(context, shared_info, expr->pretenure()); in VisitFunctionLiteral() 8088 source_size_ += info->shared_info()->SourceSize(); in Initialize()
|
D | profile-generator.cc | 1911 SharedFunctionInfo* shared_info = js_fun->shared(); in ExtractReferences() local 1913 bool bound = shared_info->bound(); in ExtractReferences() 1921 "shared", shared_info, in ExtractReferences()
|
D | objects.cc | 7398 ASSERT(info->IsOptimizing() || !info->shared_info()->is_compiled()); in CompileLazyHelper() 7442 SharedFunctionInfo* shared_info = shared(); in IsInlineable() local 7444 if (!shared_info->script()->IsScript()) return false; in IsInlineable() 7445 if (shared_info->optimization_disabled()) return false; in IsInlineable() 7446 Code* code = shared_info->code(); in IsInlineable()
|
D | hydrogen-instructions.h | 4571 Handle<SharedFunctionInfo> shared_info() const { return shared_info_; }
|
/external/v8/src/ia32/ |
D | lithium-codegen-ia32.cc | 101 info()->shared_info()->DebugName()->ToCString()); in Abort() 562 Handle<SharedFunctionInfo> shared(info_->shared_info()); in DeoptimizeIf() 4629 Handle<SharedFunctionInfo> shared_info = instr->shared_info(); in DoFunctionLiteral() local 4631 if (!pretenure && shared_info->num_literals() == 0) { in DoFunctionLiteral() 4632 FastNewClosureStub stub(shared_info->language_mode()); in DoFunctionLiteral() 4633 __ push(Immediate(shared_info)); in DoFunctionLiteral() 4637 __ push(Immediate(shared_info)); in DoFunctionLiteral()
|
D | lithium-ia32.h | 2111 Handle<SharedFunctionInfo> shared_info() { return hydrogen()->shared_info(); } in DECLARE_HYDROGEN_ACCESSOR()
|
D | lithium-ia32.cc | 567 info()->shared_info()->DebugName()->ToCString()); in Abort()
|
/external/v8/src/arm/ |
D | lithium-codegen-arm.cc | 97 info()->shared_info()->DebugName()->ToCString()); in Abort() 659 info_->shared_info()->opt_count() == id) { in DeoptimizeIf() 4776 Handle<SharedFunctionInfo> shared_info = instr->shared_info(); in DoFunctionLiteral() local 4778 if (!pretenure && shared_info->num_literals() == 0) { in DoFunctionLiteral() 4779 FastNewClosureStub stub(shared_info->language_mode()); in DoFunctionLiteral() 4780 __ mov(r1, Operand(shared_info)); in DoFunctionLiteral() 4784 __ mov(r2, Operand(shared_info)); in DoFunctionLiteral()
|
D | lithium-arm.h | 2021 Handle<SharedFunctionInfo> shared_info() { return hydrogen()->shared_info(); } in DECLARE_HYDROGEN_ACCESSOR()
|
D | lithium-arm.cc | 572 info()->shared_info()->DebugName()->ToCString()); in Abort()
|
/external/v8/src/mips/ |
D | lithium-codegen-mips.cc | 95 info()->shared_info()->DebugName()->ToCString()); in Abort() 623 info_->shared_info()->opt_count() == id) { in DeoptimizeIf() 4673 Handle<SharedFunctionInfo> shared_info = instr->shared_info(); in DoFunctionLiteral() local 4675 if (!pretenure && shared_info->num_literals() == 0) { in DoFunctionLiteral() 4676 FastNewClosureStub stub(shared_info->language_mode()); in DoFunctionLiteral() 4677 __ li(a1, Operand(shared_info)); in DoFunctionLiteral() 4681 __ li(a2, Operand(shared_info)); in DoFunctionLiteral()
|
D | lithium-mips.h | 2001 Handle<SharedFunctionInfo> shared_info() { return hydrogen()->shared_info(); } in DECLARE_HYDROGEN_ACCESSOR()
|
D | lithium-mips.cc | 572 info()->shared_info()->DebugName()->ToCString()); in Abort()
|
/external/v8/src/x64/ |
D | lithium-codegen-x64.cc | 98 info()->shared_info()->DebugName()->ToCString()); in Abort() 4391 Handle<SharedFunctionInfo> shared_info = instr->shared_info(); in DoFunctionLiteral() local 4393 if (!pretenure && shared_info->num_literals() == 0) { in DoFunctionLiteral() 4394 FastNewClosureStub stub(shared_info->language_mode()); in DoFunctionLiteral() 4395 __ Push(shared_info); in DoFunctionLiteral() 4399 __ Push(shared_info); in DoFunctionLiteral()
|
D | lithium-x64.h | 1990 Handle<SharedFunctionInfo> shared_info() { return hydrogen()->shared_info(); } in DECLARE_HYDROGEN_ACCESSOR()
|
D | lithium-x64.cc | 565 info()->shared_info()->DebugName()->ToCString()); in Abort()
|