Lines Matching refs:scope
45 InstructionAccurateScope scope(masm_, 1);
56 InstructionAccurateScope scope(masm_, 1);
73 Assembler::BlockPoolsScope scope(masm_);
128 int receiver_offset = info->scope()->num_parameters() * kXRegSize;
140 // Open a frame scope to indicate that there is a frame on the stack.
141 // The MANUAL indicates that the scope shouldn't actually generate code
155 int locals_count = info->scope()->num_stack_slots();
193 int heap_slots = info->scope()->num_heap_slots() - Context::MIN_CONTEXT_SLOTS;
198 if (FLAG_harmony_scoping && info->scope()->is_global_scope()) {
199 __ Mov(x10, Operand(info->scope()->GetScopeInfo()));
217 int num_parameters = info->scope()->num_parameters();
219 Variable* var = scope()->parameter(i);
243 Variable* arguments = scope()->arguments();
254 int num_parameters = info->scope()->num_parameters();
285 if (scope()->HasIllegalRedeclaration()) {
287 scope()->VisitIllegalRedeclaration(this);
292 if (scope()->is_function_scope() && scope()->function() != NULL) {
293 VariableDeclaration* function = scope()->function();
299 VisitDeclarations(scope()->declarations());
435 InstructionAccurateScope scope(masm_,
455 __ dc64(kXRegSize * (info_->scope()->num_parameters() + 1));
717 offset += (info_->scope()->num_parameters() + 1) * kPointerSize;
728 int context_chain_length = scope()->ContextChainLength(var->scope());
792 ASSERT_EQ(0, scope()->ContextChainLength(variable->scope()));
1329 scope()->is_function_scope() &&
1360 Scope* s = scope();
1373 // If no outer scope calls eval, we do not need to check more
1411 for (Scope* s = scope(); s != var->scope(); s = s->outer_scope()) {
1441 // perform a runtime call for all variables in the scope
1491 // var->scope() may be NULL when the proxy is located in eval code and
1496 ASSERT(var->scope() != NULL);
1501 // the same declaration scope (i.e. they are both in global code, in the
1515 if (var->scope()->DeclarationScope() != scope()->DeclarationScope()) {
1987 Assembler::BlockPoolsScope scope(masm_);
2073 Assembler::BlockPoolsScope scope(masm_);
2345 { PreservePositionScope scope(masm()->positions_recorder());
2379 int receiver_offset = 2 + info_->scope()->num_parameters();
2387 // Prepare to push the start position of the scope the calls resides in.
2388 __ Mov(x11, Smi::FromInt(scope()->start_position()));
2459 { PreservePositionScope scope(masm()->positions_recorder());
2495 { PreservePositionScope scope(masm()->positions_recorder());
2507 { PreservePositionScope scope(masm()->positions_recorder());
2942 __ Mov(x0, Smi::FromInt(info_->scope()->num_parameters()));
2953 __ Mov(x0, Smi::FromInt(info_->scope()->num_parameters()));
4006 Assembler::BlockPoolsScope scope(masm_);
4665 Scope* declaration_scope = scope()->DeclarationScope();