Lines Matching refs:scope
584 new(zone()) HEnvironment(NULL, info->scope(), info->closure());
2215 Scope* scope = info()->scope();
2216 if (scope->HasIllegalRedeclaration()) {
2220 SetupScope(scope);
2221 VisitDeclarations(scope->declarations());
2354 void HGraphBuilder::SetupScope(Scope* scope) {
2356 if (scope->function() != NULL) BAILOUT("named function expression");
2365 int count = scope->num_parameters() + 1;
2378 if (scope->arguments() != NULL) {
2379 if (!scope->arguments()->IsStackAllocated() ||
2380 (scope->arguments_shadow() != NULL &&
2381 !scope->arguments_shadow()->IsStackAllocated())) {
2387 environment()->Bind(scope->arguments(), object);
2388 if (scope->arguments_shadow() != NULL) {
2389 environment()->Bind(scope->arguments_shadow(), object);
2935 int length = info()->scope()->ContextChainLength(var->scope());
4036 outer_info->scope()->contains_with() ||
4037 outer_info->scope()->num_heap_slots() > 0) {
4071 !Scope::Analyze(&target_info)) {
4073 // Parse or scope error, never optimize this function.
4081 if (target_info.scope()->num_heap_slots() > 0) {
4095 VisitDeclarations(target_info.scope()->declarations());
4106 if (function->scope()->arguments() != NULL ||
4335 if (info()->scope()->arguments() == NULL) return false;
5589 Scope* scope,
5600 Initialize(scope->num_parameters() + 1, scope->num_stack_slots(), 0);
5746 int arity = function->scope()->num_parameters();
5752 new(zone) HEnvironment(outer, function->scope(), target);
5767 int local_count = function->scope()->num_stack_slots();