Home | History | Annotate | Download | only in src

Lines Matching refs:scope

183     return scope()->num_parameters();
192 return scope()->num_heap_slots();
228 function()->scope()->AllowsLazyCompilation() &&
233 void CompilationInfo::PrepareForCompilation(Scope* scope) {
235 scope_ = scope;
321 Scope* scope = info()->scope();
322 if ((scope->num_parameters() + 1) > parameter_limit) {
328 scope->num_parameters() + 1 + scope->num_stack_slots() > locals_limit) {
332 if (scope->HasIllegalRedeclaration()) {
355 unoptimized.PrepareForCompilation(info()->scope());
448 { // Scope for timer.
550 // scope info. Please note, that the order of the shared function
556 ScopeInfo::Create(info->scope(), info->zone());
602 function_info->set_uses_arguments(lit->scope()->arguments() != NULL);
616 if (!Scope::Analyze(info)) return false;
617 ASSERT(info->scope() != NULL);
752 Handle<ScopeInfo> scope_info = ScopeInfo::Create(info.scope(),
826 ScopeInfo::Create(info->scope(), info->zone()),
987 info.PrepareForCompilation(literal->scope());
988 info.SetStrictMode(literal->scope()->strict_mode());
1014 scope_info = ScopeInfo::Create(info.scope(), info.zone());
1088 if (!Scope::Analyze(info)) return false;
1089 ASSERT(info->scope() != NULL);
1127 info->SaveHandles(); // Copy handles to the compilation handle scope.