Home | History | Annotate | Download | only in src

Lines Matching refs:scope

322                         info->function()->scope()->AllowsLazyCompilation());
592 Scope* scope = module->body()->scope();
593 Interface* interface = scope->interface();
596 interface->Allocate(scope->module_var()->index());
599 ASSERT(scope->interface()->Index() >= 0);
600 __ Push(Smi::FromInt(scope->interface()->Index()));
601 __ Push(scope->GetScopeInfo());
606 AllocateModules(scope->declarations());
619 // Modules have their own local scope, represented by their own context.
624 // All modules have a _hosting_ scope/context, which (currently) is the
625 // (innermost) enclosing global scope. To deal with recursion, nested modules
626 // are hosted by the same scope as global ones.
656 // all modules in the hosting global scope, including nested ones.
661 // (invoked by VisitDeclarations in the hosting scope).
672 // DeclareModules (invoked by VisitDeclarations in the hosting scope again),
688 // This is a scope hosting modules. Allocate a descriptor array to pass
697 // The allocated contexts are stored in internal variables in this scope.
727 Scope* saved_scope = scope();
728 scope_ = block->scope();
777 Scope* scope = module->body()->scope();
783 interface->Allocate(scope->module_var()->index());
1053 Scope* saved_scope = scope();
1055 if (stmt->scope() == NULL) {
1058 scope_ = stmt->scope();
1081 if (stmt->scope() != NULL) {
1100 Scope* saved_scope = scope_;
1101 scope_ = stmt->body()->scope();
1238 Scope* saved_scope = scope();
1239 scope_ = stmt->scope();
1393 Scope* saved_scope = scope();
1394 scope_ = stmt->scope();