Lines Matching refs:scope_info
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
10485 ASSERT(*scope_info != ScopeInfo::Empty()); in RUNTIME_FUNCTION()
10493 isolate->factory()->NewFixedArray(scope_info->LocalCount() * 2); in RUNTIME_FUNCTION()
10497 for (; i < scope_info->StackLocalCount(); ++i) { in RUNTIME_FUNCTION()
10499 locals->set(i * 2, scope_info->LocalName(i)); in RUNTIME_FUNCTION()
10502 if (i < scope_info->LocalCount()) { in RUNTIME_FUNCTION()
10506 for (; i < scope_info->LocalCount(); ++i) { in RUNTIME_FUNCTION()
10507 Handle<String> name(scope_info->LocalName(i)); in RUNTIME_FUNCTION()
10512 scope_info->ContextSlotIndex(*name, &mode, &init_flag))); in RUNTIME_FUNCTION()
10566 int argument_count = scope_info->ParameterCount(); in RUNTIME_FUNCTION()
10573 2 * (argument_count + scope_info->LocalCount()) + in RUNTIME_FUNCTION()
10588 Smi::FromInt(scope_info->LocalCount())); in RUNTIME_FUNCTION()
10623 if (i < scope_info->ParameterCount()) { in RUNTIME_FUNCTION()
10624 details->set(details_index++, scope_info->ParameterName(i)); in RUNTIME_FUNCTION()
10639 for (int i = 0; i < scope_info->LocalCount() * 2; i++) { in RUNTIME_FUNCTION()
10677 Handle<ScopeInfo> scope_info, in CopyContextLocalsToScopeObject() argument
10681 for (int i = 0; i < scope_info->ContextLocalCount(); i++) { in CopyContextLocalsToScopeObject()
10684 int context_index = scope_info->ContextSlotIndex( in CopyContextLocalsToScopeObject()
10685 scope_info->ContextLocalName(i), &mode, &init_flag); in CopyContextLocalsToScopeObject()
10690 Handle<String>(scope_info->ContextLocalName(i)), in CopyContextLocalsToScopeObject()
10709 Handle<ScopeInfo> scope_info(shared->scope_info()); in MaterializeLocalScopeWithFrameInspector() local
10717 for (int i = 0; i < scope_info->ParameterCount(); ++i) { in MaterializeLocalScopeWithFrameInspector()
10725 Handle<String>(scope_info->ParameterName(i)), in MaterializeLocalScopeWithFrameInspector()
10733 for (int i = 0; i < scope_info->StackLocalCount(); ++i) { in MaterializeLocalScopeWithFrameInspector()
10737 Handle<String>(scope_info->StackLocalName(i)), in MaterializeLocalScopeWithFrameInspector()
10744 if (scope_info->HasContext()) { in MaterializeLocalScopeWithFrameInspector()
10749 isolate, scope_info, function_context, local_scope)) { in MaterializeLocalScopeWithFrameInspector()
10803 Handle<ScopeInfo> scope_info(shared->scope_info()); in MaterializeClosure() local
10812 isolate, scope_info, context, closure_scope)) { in MaterializeClosure()
10867 Handle<ScopeInfo> scope_info(ScopeInfo::cast(context->extension())); in MaterializeBlockScope() local
10876 isolate, scope_info, context, block_scope)) { in MaterializeBlockScope()
10890 Handle<ScopeInfo> scope_info(ScopeInfo::cast(context->extension())); in MaterializeModuleScope() local
10899 isolate, scope_info, context, module_scope)) { in MaterializeModuleScope()
10935 Handle<ScopeInfo> scope_info(shared_info->scope_info()); in ScopeIterator() local
10959 if (scope_info->HasContext()) { in ScopeIterator()
10966 if (scope_info->Type() != EVAL_SCOPE) nested_scope_chain_.Add(scope_info); in ScopeIterator()
10974 Handle<ScopeInfo> scope_info(shared_info->scope_info()); in ScopeIterator() local
10975 if (scope_info->Type() != FUNCTION_SCOPE) { in ScopeIterator()
10978 if (scope_info->Type() == GLOBAL_SCOPE) { in ScopeIterator()
10981 ASSERT(scope_info->Type() == EVAL_SCOPE); in ScopeIterator()
11037 Handle<ScopeInfo> scope_info = nested_scope_chain_.last(); in Type() local
11038 switch (scope_info->Type()) { in Type()
11041 !scope_info->HasContext()); in Type()
11056 ASSERT(!scope_info->HasContext() || in Type()
11115 return Handle<ScopeInfo>(context_->closure()->shared()->scope_info()); in CurrentScopeInfo()
11144 function_->shared()->scope_info()->Print(); in DebugPrint()
11677 Handle<ScopeInfo> scope_info = scope_chain.RemoveLast(); in CopyNestedScopeContextChain() local
11679 ASSERT(!(scope_info->HasContext() & current.is_null())); in CopyNestedScopeContextChain()
11681 if (scope_info->Type() == CATCH_SCOPE) { in CopyNestedScopeContextChain()
11689 } else if (scope_info->Type() == BLOCK_SCOPE) { in CopyNestedScopeContextChain()
11705 ASSERT(scope_info->Type() == WITH_SCOPE); in CopyNestedScopeContextChain()
11722 Handle<ScopeInfo> scope_info, in GetArgumentsObject() argument
11728 if (scope_info->StackLocalCount() > 0) { in GetArgumentsObject()
11729 index = scope_info->StackSlotIndex(isolate->heap()->arguments_symbol()); in GetArgumentsObject()
11735 if (scope_info->HasHeapAllocatedLocals()) { in GetArgumentsObject()
11738 index = scope_info->ContextSlotIndex( in GetArgumentsObject()
11804 Handle<ScopeInfo> scope_info(function->shared()->scope_info()); in RUNTIME_FUNCTION() local
11824 Handle<ScopeInfo> go_between_scope_info(go_between->shared()->scope_info()); in RUNTIME_FUNCTION()
11844 if (scope_info->HasContext()) { in RUNTIME_FUNCTION()
11892 scope_info, in RUNTIME_FUNCTION()