Home | History | Annotate | Download | only in x64

Lines Matching refs:scope

143     StackArgumentsAccessor args(rsp, info->scope()->num_parameters());
149 // Open a frame scope to indicate that there is a frame on the stack. The
150 // MANUAL indicates that the scope shouldn't actually generate code to set up
159 int locals_count = info->scope()->num_stack_slots();
175 int heap_slots = info->scope()->num_heap_slots() - Context::MIN_CONTEXT_SLOTS;
180 if (FLAG_harmony_scoping && info->scope()->is_global_scope()) {
181 __ Push(info->scope()->GetScopeInfo());
195 int num_parameters = info->scope()->num_parameters();
197 Variable* var = scope()->parameter(i);
214 Variable* arguments = scope()->arguments();
225 int num_parameters = info->scope()->num_parameters();
255 if (scope()->HasIllegalRedeclaration()) {
257 scope()->VisitIllegalRedeclaration(this);
264 if (scope()->is_function_scope() && scope()->function() != NULL) {
265 VariableDeclaration* function = scope()->function();
271 VisitDeclarations(scope()->declarations());
403 int arguments_bytes = (info_->scope()->num_parameters() + 1) * kPointerSize;
676 (info_->scope()->num_parameters() - 1) * kPointerSize;
687 int context_chain_length = scope()->ContextChainLength(var->scope());
744 ASSERT_EQ(0, scope()->ContextChainLength(variable->scope()));
1285 scope()->is_function_scope() &&
1314 Scope* s = scope();
1328 // If no outer scope calls eval, we do not need to check more
1329 // context extensions. If we have reached an eval scope, we check
1375 for (Scope* s = scope(); s != var->scope(); s = s->outer_scope()) {
1406 // perform a runtime call for all variables in the scope
1456 // var->scope() may be NULL when the proxy is located in eval code and
1461 ASSERT(var->scope() != NULL);
1466 // the same declaration scope (i.e. they are both in global code, in the
1480 if (var->scope()->DeclarationScope() != scope()->DeclarationScope()) {
2408 // scope. However, unlike var initializers, const initializers are
2410 // 'with' context. We thus bypass the normal static scope lookup for
2545 { PreservePositionScope scope(masm()->positions_recorder());
2578 { PreservePositionScope scope(masm()->positions_recorder());
2601 { PreservePositionScope scope(masm()->positions_recorder());
2637 StackArgumentsAccessor args(rbp, info_->scope()->num_parameters());
2643 // Push the start position of the scope the calls resides in.
2644 __ Push(Smi::FromInt(scope()->start_position()));
2706 { PreservePositionScope scope(masm()->positions_recorder());
2739 { PreservePositionScope scope(masm()->positions_recorder());
2751 { PreservePositionScope scope(masm()->positions_recorder());
3172 __ Move(rax, Smi::FromInt(info_->scope()->num_parameters()));
3184 __ Move(rax, Smi::FromInt(info_->scope()->num_parameters()));
4722 Scope* declaration_scope = scope()->DeclarationScope();