Lines Matching refs:scope
341 info->function()->scope()->AllowsLazyCompilation());
610 Scope* scope = module->body()->scope();
611 Interface* interface = scope->interface();
614 interface->Allocate(scope->module_var()->index());
617 ASSERT(scope->interface()->Index() >= 0);
618 __ Push(Smi::FromInt(scope->interface()->Index()));
619 __ Push(scope->GetScopeInfo());
624 AllocateModules(scope->declarations());
637 // Modules have their own local scope, represented by their own context.
642 // All modules have a _hosting_ scope/context, which (currently) is the
643 // (innermost) enclosing global scope. To deal with recursion, nested modules
644 // are hosted by the same scope as global ones.
674 // all modules in the hosting global scope, including nested ones.
679 // (invoked by VisitDeclarations in the hosting scope).
690 // DeclareModules (invoked by VisitDeclarations in the hosting scope again),
706 // This is a scope hosting modules. Allocate a descriptor array to pass
715 // The allocated contexts are stored in internal variables in this scope.
745 Scope* saved_scope = scope();
746 scope_ = block->scope();
795 Scope* scope = module->body()->scope();
801 interface->Allocate(scope->module_var()->index());
1080 Scope* saved_scope = scope();
1082 if (stmt->scope() != NULL) {
1083 scope_ = stmt->scope();
1113 if (stmt->scope() != NULL) {
1131 Scope* saved_scope = scope_;
1132 scope_ = stmt->body()->scope();
1269 Scope* saved_scope = scope();
1270 scope_ = stmt->scope();
1424 Scope* saved_scope = scope();
1425 scope_ = stmt->scope();