Lines Matching refs:scope_info
77 Handle<ScopeInfo> scope_info = FACTORY->NewScopeInfo(length);
85 scope_info->SetFlags(flags);
86 scope_info->SetParameterCount(parameter_count);
87 scope_info->SetStackLocalCount(stack_local_count);
88 scope_info->SetContextLocalCount(context_local_count);
92 ASSERT(index == scope_info->ParameterEntriesIndex());
94 scope_info->set(index++, *scope->parameter(i)->name());
100 ASSERT(index == scope_info->StackLocalEntriesIndex());
103 scope_info->set(index++, *stack_locals[i]->name());
115 ASSERT(index == scope_info->ContextLocalNameEntriesIndex());
117 scope_info->set(index++, *context_locals[i]->name());
121 ASSERT(index == scope_info->ContextLocalInfoEntriesIndex());
126 scope_info->set(index++, Smi::FromInt(value));
130 ASSERT(index == scope_info->FunctionNameEntryIndex());
133 scope_info->set(index++, *scope->function()->name());
134 scope_info->set(index++, Smi::FromInt(var_index));
136 (var_index == scope_info->StackLocalCount() &&
137 var_index == scope_info->StackSlotCount() - 1));
139 var_index == scope_info->ContextLength() - 1);
142 ASSERT(index == scope_info->length());
143 ASSERT(scope->num_parameters() == scope_info->ParameterCount());
144 ASSERT(scope->num_stack_slots() == scope_info->StackSlotCount());
145 ASSERT(scope->num_heap_slots() == scope_info->ContextLength());
146 return scope_info;
466 ScopeInfo* scope_info) {
474 String::cast(scope_info->get(start))->ShortPrint();