Home
last modified time | relevance | path

Searched refs:scope_info (Results 1 – 20 of 20) sorted by relevance

/external/v8/src/
Dscopeinfo.cc77 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 …]
Dcontexts.cc140 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()
Dscopes.cc125 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 …]
Dcompiler.cc349 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()
Dframes.cc1047 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()
Druntime.cc2186 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 …]
Dgdb-jit.cc1098 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 …]
Dscopes.h591 Scope(Scope* inner_scope, ScopeType type, Handle<ScopeInfo> scope_info);
605 Handle<ScopeInfo> scope_info);
Daccessors.cc617 Handle<ScopeInfo> scope_info(function->shared()->scope_info()); in FunctionGetArguments() local
618 int index = scope_info->StackSlotIndex( in FunctionGetArguments()
Dfactory.h183 Handle<ScopeInfo> scope_info);
431 Handle<ScopeInfo> scope_info);
Dliveedit-debugger.js827 this.scope_info = raw_array[6];
873 var scope_info1 = function_info1.scope_info;
874 var scope_info2 = function_info2.scope_info;
Dfactory.cc330 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()
Dfull-codegen.cc922 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()
Dprofile-generator.cc1998 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()
Dheap.cc4766 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()
Dliveedit.cc835 Handle<Object>(shared->scope_info())); in FunctionInfo()
Dobjects-inl.h3768 ScopeInfo* SharedFunctionInfo::scope_info() { in scope_info() function
Dparser.cc1913 Handle<ScopeInfo>(fun->shared()->scope_info())); in ParseNativeDeclaration()
Dobjects.h5147 DECL_ACCESSORS(scope_info, ScopeInfo)
Dhydrogen.cc5328 if (target_shared->scope_info() == ScopeInfo::Empty()) { in TryInline()