Searched refs:closure_scope (Results 1 – 12 of 12) sorted by relevance
515 Handle<JSObject> closure_scope = in MaterializeClosure() local519 CopyContextLocalsToScopeObject(scope_info, context, closure_scope); in MaterializeClosure()523 CopyContextExtensionToScopeObject(context, closure_scope, in MaterializeClosure()526 return closure_scope; in MaterializeClosure()
3113 Scope* closure_scope = execution_context()->scope()->ClosureScope(); in VisitFunctionClosureForContext() local3114 if (closure_scope->is_script_scope() || in VisitFunctionClosureForContext()3115 closure_scope->is_module_scope()) { in VisitFunctionClosureForContext()3124 } else if (closure_scope->is_eval_scope()) { in VisitFunctionClosureForContext()3131 DCHECK(closure_scope->is_function_scope()); in VisitFunctionClosureForContext()
3550 Scope* closure_scope = scope()->ClosureScope(); in PushFunctionArgumentForContextAllocation() local3551 if (closure_scope->is_script_scope() || in PushFunctionArgumentForContextAllocation()3552 closure_scope->is_module_scope()) { in PushFunctionArgumentForContextAllocation()3558 } else if (closure_scope->is_eval_scope()) { in PushFunctionArgumentForContextAllocation()3564 DCHECK(closure_scope->is_function_scope()); in PushFunctionArgumentForContextAllocation()
3542 Scope* closure_scope = scope()->ClosureScope(); in PushFunctionArgumentForContextAllocation() local3543 if (closure_scope->is_script_scope() || in PushFunctionArgumentForContextAllocation()3544 closure_scope->is_module_scope()) { in PushFunctionArgumentForContextAllocation()3550 } else if (closure_scope->is_eval_scope()) { in PushFunctionArgumentForContextAllocation()3556 DCHECK(closure_scope->is_function_scope()); in PushFunctionArgumentForContextAllocation()
3714 Scope* closure_scope = scope()->ClosureScope(); in PushFunctionArgumentForContextAllocation() local3715 if (closure_scope->is_script_scope() || in PushFunctionArgumentForContextAllocation()3716 closure_scope->is_module_scope()) { in PushFunctionArgumentForContextAllocation()3722 } else if (closure_scope->is_eval_scope()) { in PushFunctionArgumentForContextAllocation()3728 DCHECK(closure_scope->is_function_scope()); in PushFunctionArgumentForContextAllocation()
3540 Scope* closure_scope = scope()->ClosureScope(); in PushFunctionArgumentForContextAllocation() local3541 if (closure_scope->is_script_scope() || in PushFunctionArgumentForContextAllocation()3542 closure_scope->is_module_scope()) { in PushFunctionArgumentForContextAllocation()3548 } else if (closure_scope->is_eval_scope()) { in PushFunctionArgumentForContextAllocation()3554 DCHECK(closure_scope->is_function_scope()); in PushFunctionArgumentForContextAllocation()
3663 Scope* closure_scope = scope()->ClosureScope(); in PushFunctionArgumentForContextAllocation() local3664 if (closure_scope->is_script_scope() || in PushFunctionArgumentForContextAllocation()3665 closure_scope->is_module_scope()) { in PushFunctionArgumentForContextAllocation()3670 } else if (closure_scope->is_eval_scope()) { in PushFunctionArgumentForContextAllocation()3676 DCHECK(closure_scope->is_function_scope()); in PushFunctionArgumentForContextAllocation()
3650 Scope* closure_scope = scope()->ClosureScope(); in PushFunctionArgumentForContextAllocation() local3651 if (closure_scope->is_script_scope() || in PushFunctionArgumentForContextAllocation()3652 closure_scope->is_module_scope()) { in PushFunctionArgumentForContextAllocation()3657 } else if (closure_scope->is_eval_scope()) { in PushFunctionArgumentForContextAllocation()3663 DCHECK(closure_scope->is_function_scope()); in PushFunctionArgumentForContextAllocation()
3551 Scope* closure_scope = scope()->ClosureScope(); in PushFunctionArgumentForContextAllocation() local3552 if (closure_scope->is_script_scope() || closure_scope->is_module_scope()) { in PushFunctionArgumentForContextAllocation()3557 } else if (closure_scope->is_eval_scope()) { in PushFunctionArgumentForContextAllocation()3563 DCHECK(closure_scope->is_function_scope()); in PushFunctionArgumentForContextAllocation()
3643 Scope* closure_scope = scope()->ClosureScope(); in PushFunctionArgumentForContextAllocation() local3644 if (closure_scope->is_script_scope() || in PushFunctionArgumentForContextAllocation()3645 closure_scope->is_module_scope()) { in PushFunctionArgumentForContextAllocation()3650 } else if (closure_scope->is_eval_scope()) { in PushFunctionArgumentForContextAllocation()3656 DCHECK(closure_scope->is_function_scope()); in PushFunctionArgumentForContextAllocation()
3659 Scope* closure_scope = scope()->ClosureScope(); in PushFunctionArgumentForContextAllocation() local3660 if (closure_scope->is_script_scope() || in PushFunctionArgumentForContextAllocation()3661 closure_scope->is_module_scope()) { in PushFunctionArgumentForContextAllocation()3666 } else if (closure_scope->is_eval_scope()) { in PushFunctionArgumentForContextAllocation()3672 DCHECK(closure_scope->is_function_scope()); in PushFunctionArgumentForContextAllocation()
497 Scope* closure_scope = current_scope()->ClosureScope(); in GetFunctionClosureForContext() local498 if (closure_scope->is_script_scope() || in GetFunctionClosureForContext()499 closure_scope->is_module_scope()) { in GetFunctionClosureForContext()503 } else if (closure_scope->is_eval_scope()) { in GetFunctionClosureForContext()510 DCHECK(closure_scope->is_function_scope()); in GetFunctionClosureForContext()