Searched refs:closure_scope (Results 1 – 11 of 11) sorted by relevance
503 Handle<JSObject> closure_scope = in MaterializeClosure() local507 CopyContextLocalsToScopeObject(scope_info, context, closure_scope); in MaterializeClosure()513 handle(context->extension_object(), isolate_), closure_scope, in MaterializeClosure()519 return closure_scope; in MaterializeClosure()
2106 Scope* closure_scope = execution_context()->scope()->ClosureScope(); in VisitFunctionClosureForContext() local2107 if (closure_scope->is_script_scope() || in VisitFunctionClosureForContext()2108 closure_scope->is_module_scope()) { in VisitFunctionClosureForContext()2118 DCHECK(closure_scope->is_function_scope()); in VisitFunctionClosureForContext()
4594 Scope* closure_scope = scope()->ClosureScope(); in PushFunctionArgumentForContextAllocation() local4595 if (closure_scope->is_script_scope() || in PushFunctionArgumentForContextAllocation()4596 closure_scope->is_module_scope()) { in PushFunctionArgumentForContextAllocation()4602 } else if (closure_scope->is_eval_scope()) { in PushFunctionArgumentForContextAllocation()4608 DCHECK(closure_scope->is_function_scope()); in PushFunctionArgumentForContextAllocation()
4702 Scope* closure_scope = scope()->ClosureScope(); in PushFunctionArgumentForContextAllocation() local4703 if (closure_scope->is_script_scope() || in PushFunctionArgumentForContextAllocation()4704 closure_scope->is_module_scope()) { in PushFunctionArgumentForContextAllocation()4710 } else if (closure_scope->is_eval_scope()) { in PushFunctionArgumentForContextAllocation()4716 DCHECK(closure_scope->is_function_scope()); in PushFunctionArgumentForContextAllocation()
4673 Scope* closure_scope = scope()->ClosureScope(); in PushFunctionArgumentForContextAllocation() local4674 if (closure_scope->is_script_scope() || in PushFunctionArgumentForContextAllocation()4675 closure_scope->is_module_scope()) { in PushFunctionArgumentForContextAllocation()4680 } else if (closure_scope->is_eval_scope()) { in PushFunctionArgumentForContextAllocation()4686 DCHECK(closure_scope->is_function_scope()); in PushFunctionArgumentForContextAllocation()
4668 Scope* closure_scope = scope()->ClosureScope(); in PushFunctionArgumentForContextAllocation() local4669 if (closure_scope->is_script_scope() || in PushFunctionArgumentForContextAllocation()4670 closure_scope->is_module_scope()) { in PushFunctionArgumentForContextAllocation()4675 } else if (closure_scope->is_eval_scope()) { in PushFunctionArgumentForContextAllocation()4681 DCHECK(closure_scope->is_function_scope()); in PushFunctionArgumentForContextAllocation()
4665 Scope* closure_scope = scope()->ClosureScope(); in PushFunctionArgumentForContextAllocation() local4666 if (closure_scope->is_script_scope() || in PushFunctionArgumentForContextAllocation()4667 closure_scope->is_module_scope()) { in PushFunctionArgumentForContextAllocation()4672 } else if (closure_scope->is_eval_scope()) { in PushFunctionArgumentForContextAllocation()4678 DCHECK(closure_scope->is_function_scope()); in PushFunctionArgumentForContextAllocation()
4584 Scope* closure_scope = scope()->ClosureScope(); in PushFunctionArgumentForContextAllocation() local4585 if (closure_scope->is_script_scope() || in PushFunctionArgumentForContextAllocation()4586 closure_scope->is_module_scope()) { in PushFunctionArgumentForContextAllocation()4592 } else if (closure_scope->is_eval_scope()) { in PushFunctionArgumentForContextAllocation()4598 DCHECK(closure_scope->is_function_scope()); in PushFunctionArgumentForContextAllocation()
4592 Scope* closure_scope = scope()->ClosureScope(); in PushFunctionArgumentForContextAllocation() local4593 if (closure_scope->is_script_scope() || in PushFunctionArgumentForContextAllocation()4594 closure_scope->is_module_scope()) { in PushFunctionArgumentForContextAllocation()4600 } else if (closure_scope->is_eval_scope()) { in PushFunctionArgumentForContextAllocation()4606 DCHECK(closure_scope->is_function_scope()); in PushFunctionArgumentForContextAllocation()
4684 Scope* closure_scope = scope()->ClosureScope(); in PushFunctionArgumentForContextAllocation() local4685 if (closure_scope->is_script_scope() || in PushFunctionArgumentForContextAllocation()4686 closure_scope->is_module_scope()) { in PushFunctionArgumentForContextAllocation()4691 } else if (closure_scope->is_eval_scope()) { in PushFunctionArgumentForContextAllocation()4697 DCHECK(closure_scope->is_function_scope()); in PushFunctionArgumentForContextAllocation()
465 Scope* closure_scope = current_scope()->ClosureScope(); in GetFunctionClosureForContext() local466 if (closure_scope->is_script_scope() || in GetFunctionClosureForContext()467 closure_scope->is_module_scope()) { in GetFunctionClosureForContext()472 DCHECK(closure_scope->is_function_scope()); in GetFunctionClosureForContext()