Lines Matching refs:scope
144 int receiver_offset = (info->scope()->num_parameters() + 1) * kPointerSize;
150 // Open a frame scope to indicate that there is a frame on the stack. The
151 // MANUAL indicates that the scope shouldn't actually generate code to set up
163 int locals_count = info->scope()->num_stack_slots();
179 int heap_slots = info->scope()->num_heap_slots() - Context::MIN_CONTEXT_SLOTS;
184 if (FLAG_harmony_scoping && info->scope()->is_global_scope()) {
185 __ Push(info->scope()->GetScopeInfo());
199 int num_parameters = info->scope()->num_parameters();
201 Variable* var = scope()->parameter(i);
218 Variable* arguments = scope()->arguments();
229 int num_parameters = info->scope()->num_parameters();
259 if (scope()->HasIllegalRedeclaration()) {
261 scope()->VisitIllegalRedeclaration(this);
268 if (scope()->is_function_scope() && scope()->function() != NULL) {
269 VariableDeclaration* function = scope()->function();
275 VisitDeclarations(scope()->declarations());
411 int arguments_bytes = (info_->scope()->num_parameters() + 1) * kPointerSize;
683 offset += (info_->scope()->num_parameters() + 1) * kPointerSize;
694 int context_chain_length = scope()->ContextChainLength(var->scope());
751 ASSERT_EQ(0, scope()->ContextChainLength(variable->scope()));
1292 scope()->is_function_scope() &&
1321 Scope* s = scope();
1335 // If no outer scope calls eval, we do not need to check more
1336 // context extensions. If we have reached an eval scope, we check
1382 for (Scope* s = scope(); s != var->scope(); s = s->outer_scope()) {
1413 // perform a runtime call for all variables in the scope
1463 // var->scope() may be NULL when the proxy is located in eval code and
1468 ASSERT(var->scope() != NULL);
1473 // the same declaration scope (i.e. they are both in global code, in the
1487 if (var->scope()->DeclarationScope() != scope()->DeclarationScope()) {
2414 // scope. However, unlike var initializers, const initializers are
2416 // 'with' context. We thus bypass the normal static scope lookup for
2551 { PreservePositionScope scope(masm()->positions_recorder());
2584 { PreservePositionScope scope(masm()->positions_recorder());
2607 { PreservePositionScope scope(masm()->positions_recorder());
2643 __ push(Operand(rbp, (2 + info_->scope()->num_parameters()) * kPointerSize));
2648 // Push the start position of the scope the calls resides in.
2649 __ Push(Smi::FromInt(scope()->start_position()));
2711 { PreservePositionScope scope(masm()->positions_recorder());
2744 { PreservePositionScope scope(masm()->positions_recorder());
2756 { PreservePositionScope scope(masm()->positions_recorder());
3151 __ Move(rax, Smi::FromInt(info_->scope()->num_parameters()));
3163 __ Move(rax, Smi::FromInt(info_->scope()->num_parameters()));
4771 Scope* declaration_scope = scope()->DeclarationScope();