Lines Matching refs:scope
337 info->function()->scope()->AllowsLazyCompilation());
612 Scope* scope = module->body()->scope();
613 Interface* interface = scope->interface();
616 interface->Allocate(scope->module_var()->index());
619 ASSERT(scope->interface()->Index() >= 0);
620 __ Push(Smi::FromInt(scope->interface()->Index()));
621 __ Push(scope->GetScopeInfo());
626 AllocateModules(scope->declarations());
639 // Modules have their own local scope, represented by their own context.
644 // All modules have a _hosting_ scope/context, which (currently) is the
645 // (innermost) enclosing global scope. To deal with recursion, nested modules
646 // are hosted by the same scope as global ones.
676 // all modules in the hosting global scope, including nested ones.
681 // (invoked by VisitDeclarations in the hosting scope).
692 // DeclareModules (invoked by VisitDeclarations in the hosting scope again),
708 // This is a scope hosting modules. Allocate a descriptor array to pass
717 // The allocated contexts are stored in internal variables in this scope.
747 Scope* saved_scope = scope();
748 scope_ = block->scope();
797 Scope* scope = module->body()->scope();
803 interface->Allocate(scope->module_var()->index());
1082 Scope* saved_scope = scope();
1084 if (stmt->scope() != NULL) {
1085 scope_ = stmt->scope();
1115 if (stmt->scope() != NULL) {
1133 Scope* saved_scope = scope_;
1134 scope_ = stmt->body()->scope();
1271 Scope* saved_scope = scope();
1272 scope_ = stmt->scope();
1426 Scope* saved_scope = scope();
1427 scope_ = stmt->scope();