/external/v8/src/ |
D | scopeinfo.cc | 77 Handle<ScopeInfo> scope_info = FACTORY->NewScopeInfo(length); in Create() local 85 scope_info->SetFlags(flags); in Create() 86 scope_info->SetParameterCount(parameter_count); in Create() 87 scope_info->SetStackLocalCount(stack_local_count); in Create() 88 scope_info->SetContextLocalCount(context_local_count); in Create() 92 ASSERT(index == scope_info->ParameterEntriesIndex()); in Create() 94 scope_info->set(index++, *scope->parameter(i)->name()); in Create() 100 ASSERT(index == scope_info->StackLocalEntriesIndex()); in Create() 103 scope_info->set(index++, *stack_locals[i]->name()); in Create() 115 ASSERT(index == scope_info->ContextLocalNameEntriesIndex()); in Create() [all …]
|
D | contexts.cc | 140 Handle<ScopeInfo> scope_info; in Lookup() local 142 scope_info = Handle<ScopeInfo>( in Lookup() 143 context->closure()->shared()->scope_info(), isolate); in Lookup() 145 scope_info = Handle<ScopeInfo>( in Lookup() 150 int slot_index = scope_info->ContextSlotIndex(*name, &mode, &init_flag); in Lookup() 200 int function_index = scope_info->FunctionContextSlotIndex(*name, &mode); in Lookup()
|
D | scopes.cc | 125 Handle<ScopeInfo> scope_info) in Scope() argument 135 SetDefaults(type, NULL, scope_info); in Scope() 136 if (!scope_info.is_null()) { in Scope() 172 Handle<ScopeInfo> scope_info) { in SetDefaults() argument 193 scope_info_ = scope_info; in SetDefaults() 196 if (!scope_info.is_null()) { in SetDefaults() 197 scope_calls_eval_ = scope_info->CallsEval(); in SetDefaults() 198 language_mode_ = scope_info->language_mode(); in SetDefaults() 220 ScopeInfo* scope_info = context->closure()->shared()->scope_info(); in DeserializeScopeChain() local 223 Handle<ScopeInfo>(scope_info)); in DeserializeScopeChain() [all …]
|
D | compiler.cc | 349 Handle<ScopeInfo> scope_info = ScopeInfo::Create(info->scope()); in MakeCodeForLiveEdit() local 350 info->shared_info()->set_scope_info(*scope_info); in MakeCodeForLiveEdit() 646 ASSERT(shared->scope_info() != ScopeInfo::Empty()); in CompileLazy() 654 Handle<ScopeInfo> scope_info = ScopeInfo::Create(info->scope()); in CompileLazy() local 655 shared->set_scope_info(*scope_info); in CompileLazy() 722 Handle<ScopeInfo> scope_info(ScopeInfo::Empty()); in BuildFunctionInfo() local 731 scope_info = ScopeInfo::Create(info.scope()); in BuildFunctionInfo() 741 scope_info); in BuildFunctionInfo()
|
D | frames.cc | 1047 Handle<ScopeInfo> scope_info(ScopeInfo::Empty()); in Print() local 1051 scope_info = Handle<ScopeInfo>(shared->scope_info()); in Print() 1083 if (i < scope_info->ParameterCount()) { in Print() 1084 accumulator->PrintName(scope_info->ParameterName(i)); in Print() 1102 int stack_locals_count = scope_info->StackLocalCount(); in Print() 1103 int heap_locals_count = scope_info->ContextLocalCount(); in Print() 1112 accumulator->PrintName(scope_info->StackLocalName(i)); in Print() 1134 accumulator->PrintName(scope_info->ContextLocalName(i)); in Print()
|
D | runtime.cc | 2186 target->shared()->set_scope_info(shared->scope_info()); in RUNTIME_FUNCTION() 7634 Handle<ScopeInfo> scope_info(callee->shared()->scope_info()); in RUNTIME_FUNCTION() local 7637 Handle<String> name(scope_info->ParameterName(index)); in RUNTIME_FUNCTION() 7638 int context_local_count = scope_info->ContextLocalCount(); in RUNTIME_FUNCTION() 7641 if (scope_info->ParameterName(j) == *name) { in RUNTIME_FUNCTION() 7657 if (scope_info->ContextLocalName(j) == *name) { in RUNTIME_FUNCTION() 8499 int length = function->shared()->scope_info()->ContextLength(); in RUNTIME_FUNCTION() 8585 ScopeInfo* scope_info = ScopeInfo::cast(args[0]); in RUNTIME_FUNCTION() local 8599 scope_info); in RUNTIME_FUNCTION() 10484 Handle<ScopeInfo> scope_info(shared->scope_info()); in RUNTIME_FUNCTION() local [all …]
|
D | gdb-jit.cc | 1098 ScopeInfo<FreeStoreAllocationPolicy> scope_info(info->scope()); in WriteBody() local 1114 int params = scope_info.number_of_parameters(); in WriteBody() 1115 int slots = scope_info.number_of_stack_slots(); in WriteBody() 1116 int context_slots = scope_info.number_of_context_slots(); in WriteBody() 1119 int locals = scope_info.LocalCount(); in WriteBody() 1125 *scope_info.ParameterName(param)->ToCString(DISALLOW_NULLS)); in WriteBody() 1173 *scope_info.LocalName(local)->ToCString(DISALLOW_NULLS)); in WriteBody() 1310 ScopeInfo<FreeStoreAllocationPolicy> scope_info(info->scope()); in WriteBody() local 1311 int params = scope_info.number_of_parameters(); in WriteBody() 1312 int slots = scope_info.number_of_stack_slots(); in WriteBody() [all …]
|
D | scopes.h | 591 Scope(Scope* inner_scope, ScopeType type, Handle<ScopeInfo> scope_info); 605 Handle<ScopeInfo> scope_info);
|
D | accessors.cc | 617 Handle<ScopeInfo> scope_info(function->shared()->scope_info()); in FunctionGetArguments() local 618 int index = scope_info->StackSlotIndex( in FunctionGetArguments()
|
D | factory.h | 183 Handle<ScopeInfo> scope_info); 431 Handle<ScopeInfo> scope_info);
|
D | liveedit-debugger.js | 827 this.scope_info = raw_array[6]; 873 var scope_info1 = function_info1.scope_info; 874 var scope_info2 = function_info2.scope_info;
|
D | factory.cc | 330 Handle<ScopeInfo> scope_info) { in NewBlockContext() argument 335 *scope_info), in NewBlockContext() 1044 Handle<ScopeInfo> scope_info) { in NewSharedFunctionInfo() argument 1047 shared->set_scope_info(*scope_info); in NewSharedFunctionInfo()
|
D | full-codegen.cc | 922 Handle<ScopeInfo> scope_info = scope_->GetScopeInfo(); in VisitBlock() local 923 int heap_slots = scope_info->ContextLength() - Context::MIN_CONTEXT_SLOTS; in VisitBlock() 924 __ Push(scope_info); in VisitBlock()
|
D | profile-generator.cc | 1998 TagObject(shared->scope_info(), "(function scope info)"); in ExtractReferences() 2000 "scope_info", shared->scope_info(), in ExtractReferences() 2058 ScopeInfo* scope_info = context->closure()->shared()->scope_info(); in ExtractClosureReferences() local 2076 int context_locals = scope_info->ContextLocalCount(); in ExtractClosureReferences() 2078 String* local_name = scope_info->ContextLocalName(i); in ExtractClosureReferences() 2084 if (scope_info->HasFunctionName()) { in ExtractClosureReferences() 2085 String* name = scope_info->FunctionName(); in ExtractClosureReferences() 2089 ASSERT(idx == scope_info->FunctionContextSlotIndex(name, &mode)); in ExtractClosureReferences()
|
D | heap.cc | 4766 ScopeInfo* scope_info) { in AllocateBlockContext() argument 4769 AllocateFixedArrayWithHoles(scope_info->ContextLength()); in AllocateBlockContext() 4776 context->set_extension(scope_info); in AllocateBlockContext() 4783 FixedArray* scope_info; in AllocateScopeInfo() local 4785 if (!maybe_scope_info->To(&scope_info)) return maybe_scope_info; in AllocateScopeInfo() 4786 scope_info->set_map_no_write_barrier(scope_info_map()); in AllocateScopeInfo() 4787 return scope_info; in AllocateScopeInfo()
|
D | liveedit.cc | 835 Handle<Object>(shared->scope_info())); in FunctionInfo()
|
D | objects-inl.h | 3768 ScopeInfo* SharedFunctionInfo::scope_info() { in scope_info() function
|
D | parser.cc | 1913 Handle<ScopeInfo>(fun->shared()->scope_info())); in ParseNativeDeclaration()
|
D | objects.h | 5147 DECL_ACCESSORS(scope_info, ScopeInfo)
|
D | hydrogen.cc | 5328 if (target_shared->scope_info() == ScopeInfo::Empty()) { in TryInline()
|