Home | History | Annotate | Download | only in arm

Lines Matching refs:scope

130     int receiver_offset = info->scope()->num_parameters() * kPointerSize;
143 // Open a frame scope to indicate that there is a frame on the stack. The
144 // MANUAL indicates that the scope shouldn't actually generate code to set up
153 int locals_count = info->scope()->num_stack_slots();
192 int heap_slots = info->scope()->num_heap_slots() - Context::MIN_CONTEXT_SLOTS;
197 if (FLAG_harmony_scoping && info->scope()->is_global_scope()) {
199 __ Push(info->scope()->GetScopeInfo());
216 int num_parameters = info->scope()->num_parameters();
218 Variable* var = scope()->parameter(i);
242 Variable* arguments = scope()->arguments();
253 int num_parameters = info->scope()->num_parameters();
284 if (scope()->HasIllegalRedeclaration()) {
286 scope()->VisitIllegalRedeclaration(this);
293 if (scope()->is_function_scope() && scope()->function() != NULL) {
294 VariableDeclaration* function = scope()->function();
300 VisitDeclarations(scope()->declarations());
431 int32_t sp_delta = (info_->scope()->num_parameters() + 1) * kPointerSize;
701 offset += (info_->scope()->num_parameters() + 1) * kPointerSize;
712 int context_chain_length = scope()->ContextChainLength(var->scope());
775 ASSERT_EQ(0, scope()->ContextChainLength(variable->scope()));
1320 scope()->is_function_scope() &&
1351 Scope* s = scope();
1365 // If no outer scope calls eval, we do not need to check more
1408 for (Scope* s = scope(); s != var->scope(); s = s->outer_scope()) {
1440 // perform a runtime call for all variables in the scope
1490 // var->scope() may be NULL when the proxy is located in eval code and
1495 ASSERT(var->scope() != NULL);
1500 // the same declaration scope (i.e. they are both in global code, in the
1514 if (var->scope()->DeclarationScope() != scope()->DeclarationScope()) {
2641 { PreservePositionScope scope(masm()->positions_recorder());
2673 int receiver_offset = 2 + info_->scope()->num_parameters();
2679 // r1: the start position of the scope the calls resides in.
2680 __ mov(r1, Operand(Smi::FromInt(scope()->start_position())));
2746 { PreservePositionScope scope(masm()->positions_recorder());
2782 { PreservePositionScope scope(masm()->positions_recorder());
2793 { PreservePositionScope scope(masm()->positions_recorder());
3215 __ mov(r0, Operand(Smi::FromInt(info_->scope()->num_parameters())));
3226 __ mov(r0, Operand(Smi::FromInt(info_->scope()->num_parameters())));
4605 Scope* declaration_scope = scope()->DeclarationScope();