Lines Matching refs:scope
119 int receiver_offset = (info->scope()->num_parameters() + 1) * kPointerSize;
133 // Open a frame scope to indicate that there is a frame on the stack. The
134 // MANUAL indicates that the scope shouldn't actually generate code to set up
143 int locals_count = info->scope()->num_stack_slots();
185 int heap_slots = info->scope()->num_heap_slots() - Context::MIN_CONTEXT_SLOTS;
190 if (FLAG_harmony_scoping && info->scope()->is_global_scope()) {
192 __ Push(info->scope()->GetScopeInfo());
210 int num_parameters = info->scope()->num_parameters();
212 Variable* var = scope()->parameter(i);
237 Variable* arguments = scope()->arguments();
247 int num_parameters = info->scope()->num_parameters();
277 if (scope()->HasIllegalRedeclaration()) {
279 scope()->VisitIllegalRedeclaration(this);
286 if (scope()->is_function_scope() && scope()->function() != NULL) {
287 VariableDeclaration* function = scope()->function();
293 VisitDeclarations(scope()->declarations());
414 int arguments_bytes = (info_->scope()->num_parameters() + 1) * kPointerSize;
668 offset += (info_->scope()->num_parameters() + 1) * kPointerSize;
679 int context_chain_length = scope()->ContextChainLength(var->scope());
737 ASSERT_EQ(0, scope()->ContextChainLength(variable->scope()));
1262 scope()->is_function_scope() &&
1293 Scope* s = scope();
1307 // If no outer scope calls eval, we do not need to check more
1308 // context extensions. If we have reached an eval scope, we check
1353 for (Scope* s = scope(); s != var->scope(); s = s->outer_scope()) {
1384 // perform a runtime call for all variables in the scope
1433 // var->scope() may be NULL when the proxy is located in eval code and
1438 ASSERT(var->scope() != NULL);
1443 // the same declaration scope (i.e. they are both in global code, in the
1457 if (var->scope()->DeclarationScope() != scope()->DeclarationScope()) {
2578 { PreservePositionScope scope(masm()->positions_recorder());
2612 __ push(Operand(ebp, (2 + info_->scope()->num_parameters()) * kPointerSize));
2616 // Push the start position of the scope the calls resides in.
2617 __ push(Immediate(Smi::FromInt(scope()->start_position())));
2677 { PreservePositionScope scope(masm()->positions_recorder());
2711 { PreservePositionScope scope(masm()->positions_recorder());
2723 { PreservePositionScope scope(masm()->positions_recorder());
3150 __ Move(eax, Immediate(Smi::FromInt(info_->scope()->num_parameters())));
3162 __ Move(eax, Immediate(Smi::FromInt(info_->scope()->num_parameters())));
4597 Scope* declaration_scope = scope()->DeclarationScope();