Lines Matching refs:scope
167 int receiver_offset = (info->scope()->num_parameters() + 1) * kPointerSize;
173 // Open a frame scope to indicate that there is a frame on the stack. The
174 // MANUAL indicates that the scope shouldn't actually generate code to set up
184 int locals_count = info->scope()->num_stack_slots();
198 int heap_slots = info->scope()->num_heap_slots() - Context::MIN_CONTEXT_SLOTS;
215 int num_parameters = info->scope()->num_parameters();
217 Variable* var = scope()->parameter(i);
234 Variable* arguments = scope()->arguments();
245 int num_parameters = info->scope()->num_parameters();
275 if (scope()->HasIllegalRedeclaration()) {
277 scope()->VisitIllegalRedeclaration(this);
284 if (scope()->is_function_scope() && scope()->function() != NULL) {
285 VariableProxy* proxy = scope()->function();
291 VisitDeclarations(scope()->declarations());
376 int arguments_bytes = (info_->scope()->num_parameters() + 1) * kPointerSize;
640 offset += (info_->scope()->num_parameters() + 1) * kPointerSize;
651 int context_chain_length = scope()->ContextChainLength(var->scope());
736 ASSERT_EQ(0, scope()->ContextChainLength(variable->scope()));
1078 scope()->is_function_scope() &&
1107 Scope* s = scope();
1121 // If no outer scope calls eval, we do not need to check more
1122 // context extensions. If we have reached an eval scope, we check
1168 for (Scope* s = scope(); s != var->scope(); s = s->outer_scope()) {
1199 // perform a runtime call for all variables in the scope
1249 // var->scope() may be NULL when the proxy is located in eval code and
1254 ASSERT(var->scope() != NULL);
1259 // the same declaration scope (i.e. they are both in global code, in the
1273 if (var->scope()->DeclarationScope() != scope()->DeclarationScope()) {
1882 // scope. However, unlike var initializers, const initializers are
1884 // 'with' context. We thus bypass the normal static scope lookup for
2056 { PreservePositionScope scope(masm()->positions_recorder());
2089 { PreservePositionScope scope(masm()->positions_recorder());
2112 { PreservePositionScope scope(masm()->positions_recorder());
2139 __ push(Operand(rbp, (2 + info_->scope()->num_parameters()) * kPointerSize));
2144 // Push the start position of the scope the calls resides in.
2145 __ Push(Smi::FromInt(scope()->start_position()));
2207 { PreservePositionScope scope(masm()->positions_recorder());
2240 { PreservePositionScope scope(masm()->positions_recorder());
2252 { PreservePositionScope scope(masm()->positions_recorder());
2649 __ Move(rax, Smi::FromInt(info_->scope()->num_parameters()));
2661 __ Move(rax, Smi::FromInt(info_->scope()->num_parameters()));
4260 Scope* declaration_scope = scope()->DeclarationScope();