Home | History | Annotate | Download | only in src

Lines Matching refs:Scope

52 ScopeInfo<Allocator>::ScopeInfo(Scope* scope)
54 calls_eval_(scope->calls_eval()),
55 parameters_(scope->num_parameters()),
56 stack_slots_(scope->num_stack_slots()),
57 context_slots_(scope->num_heap_slots()),
58 context_modes_(scope->num_heap_slots()) {
60 for (int i = 0; i < scope->num_parameters(); i++) {
62 parameters_.Add(scope->parameter(i)->name());
79 scope->CollectUsedVariables(&locals);
112 if (scope->num_heap_slots() > 0) {
129 // ordering of the scope info slots and the respective slot indices.
130 if (scope->is_function_scope()) {
131 Variable* var = scope->function();
184 // - when gathering the information from a Scope, we only need to iterate