Lines Matching refs:scope
160 int receiver_offset = info->scope()->num_parameters() * kPointerSize;
166 // Open a frame scope to indicate that there is a frame on the stack. The
167 // MANUAL indicates that the scope shouldn't actually generate code to set up
171 int locals_count = info->scope()->num_stack_slots();
191 int heap_slots = info->scope()->num_heap_slots() - Context::MIN_CONTEXT_SLOTS;
207 int num_parameters = info->scope()->num_parameters();
209 Variable* var = scope()->parameter(i);
226 Variable* arguments = scope()->arguments();
237 int num_parameters = info->scope()->num_parameters();
268 if (scope()->HasIllegalRedeclaration()) {
270 scope()->VisitIllegalRedeclaration(this);
277 if (scope()->is_function_scope() && scope()->function() != NULL) {
278 VariableProxy* proxy = scope()->function();
284 VisitDeclarations(scope()->declarations());
443 int32_t sp_delta = (info_->scope()->num_parameters() + 1) * kPointerSize;
721 offset += (info_->scope()->num_parameters() + 1) * kPointerSize;
732 int context_chain_length = scope()->ContextChainLength(var->scope());
822 ASSERT_EQ(0, scope()->ContextChainLength(variable->scope()));
1170 scope()->is_function_scope() &&
1200 Scope* s = scope();
1214 // If no outer scope calls eval, we do not need to check more
1258 for (Scope* s = scope(); s != var->scope(); s = s->outer_scope()) {
1290 // perform a runtime call for all variables in the scope
1343 // var->scope() may be NULL when the proxy is located in eval code and
1348 ASSERT(var->scope() != NULL);
1353 // the same declaration scope (i.e. they are both in global code, in the
1367 if (var->scope()->DeclarationScope() != scope()->DeclarationScope()) {
2014 // scope. However, unlike var initializers, const initializers are
2016 // 'with' context. We thus bypass the normal static scope lookup for
2211 { PreservePositionScope scope(masm()->positions_recorder());
2244 { PreservePositionScope scope(masm()->positions_recorder());
2267 { PreservePositionScope scope(masm()->positions_recorder());
2294 int receiver_offset = 2 + info_->scope()->num_parameters();
2301 // Push the start position of the scope the calls resides in.
2302 __ mov(r1, Operand(Smi::FromInt(scope()->start_position())));
2370 { PreservePositionScope scope(masm()->positions_recorder());
2406 { PreservePositionScope scope(masm()->positions_recorder());
2418 { PreservePositionScope scope(masm()->positions_recorder());
2820 __ mov(r0, Operand(Smi::FromInt(info_->scope()->num_parameters())));
2831 __ mov(r0, Operand(Smi::FromInt(info_->scope()->num_parameters())));
2956 CpuFeatures::Scope scope(VFP3);
4359 Scope* declaration_scope = scope()->DeclarationScope();