Lines Matching refs:scope
145 int receiver_offset = (info->scope()->num_parameters() + 1) * kPointerSize;
155 // Open a frame scope to indicate that there is a frame on the stack. The
156 // MANUAL indicates that the scope shouldn't actually generate code to set up
165 int locals_count = info->scope()->num_stack_slots();
181 int heap_slots = info->scope()->num_heap_slots() - Context::MIN_CONTEXT_SLOTS;
186 if (FLAG_harmony_scoping && info->scope()->is_global_scope()) {
187 __ Push(info->scope()->GetScopeInfo());
201 int num_parameters = info->scope()->num_parameters();
203 Variable* var = scope()->parameter(i);
222 Variable* arguments = scope()->arguments();
232 int num_parameters = info->scope()->num_parameters();
262 if (scope()->HasIllegalRedeclaration()) {
264 scope()->VisitIllegalRedeclaration(this);
271 if (scope()->is_function_scope() && scope()->function() != NULL) {
272 VariableDeclaration* function = scope()->function();
278 VisitDeclarations(scope()->declarations());
413 int arguments_bytes = (info_->scope()->num_parameters() + 1) * kPointerSize;
669 offset += (info_->scope()->num_parameters() + 1) * kPointerSize;
680 int context_chain_length = scope()->ContextChainLength(var->scope());
738 ASSERT_EQ(0, scope()->ContextChainLength(variable->scope()));
1263 scope()->is_function_scope() &&
1292 Scope* s = scope();
1306 // If no outer scope calls eval, we do not need to check more
1307 // context extensions. If we have reached an eval scope, we check
1352 for (Scope* s = scope(); s != var->scope(); s = s->outer_scope()) {
1383 // perform a runtime call for all variables in the scope
1435 // var->scope() may be NULL when the proxy is located in eval code and
1440 ASSERT(var->scope() != NULL);
1445 // the same declaration scope (i.e. they are both in global code, in the
1459 if (var->scope()->DeclarationScope() != scope()->DeclarationScope()) {
2422 // scope. However, unlike var initializers, const initializers are
2424 // 'with' context. We thus bypass the normal static scope lookup for
2569 { PreservePositionScope scope(masm()->positions_recorder());
2601 { PreservePositionScope scope(masm()->positions_recorder());
2623 { PreservePositionScope scope(masm()->positions_recorder());
2659 __ push(Operand(ebp, (2 + info_->scope()->num_parameters()) * kPointerSize));
2663 // Push the start position of the scope the calls resides in.
2664 __ push(Immediate(Smi::FromInt(scope()->start_position())));
2726 { PreservePositionScope scope(masm()->positions_recorder());
2760 { PreservePositionScope scope(masm()->positions_recorder());
2773 { PreservePositionScope scope(masm()->positions_recorder());
3197 __ Set(eax, Immediate(Smi::FromInt(info_->scope()->num_parameters())));
3209 __ Set(eax, Immediate(Smi::FromInt(info_->scope()->num_parameters())));
4733 Scopescope()->DeclarationScope();