Searched refs:is_function_scope (Results 1 – 19 of 19) sorted by relevance
147 DCHECK(is_function_scope()); in DeclareFunctionVar()323 bool is_function_scope() const { return scope_type_ == FUNCTION_SCOPE; } in is_function_scope() function330 return is_function_scope() && IsArrowFunction(function_kind_); in is_arrow_scope()395 return (is_function_scope() && !is_arrow_scope()) || is_module_scope(); in has_this_declaration()404 DCHECK(is_function_scope()); in function()411 DCHECK(is_function_scope()); in parameter()456 DCHECK(is_function_scope()); in SetHasNonSimpleParameters()463 return !scope->is_function_scope() || scope->has_simple_parameters(); in HasSimpleParameters()475 (is_function_scope() && (IsClassConstructor(function_kind()) || in this_function_var()
161 is_eval_scope() || is_function_scope() || in SetDefaults()186 force_context_allocation_ = (outer_scope != NULL && !is_function_scope()) in SetDefaults()323 if (is_function_scope() && !is_arrow_scope()) { in Initialize()489 DCHECK(is_function_scope()); in DeclareParameter()594 if (is_function_scope() && decl == function()) continue; in CheckConflictingVarDeclarations()792 (!scope->is_function_scope() || scope->is_arrow_scope())) { in ReceiverScope()928 if (is_function_scope()) { in Print()1083 if (*binding_kind == BOUND && (is_function_scope() || is_with_scope())) { in LookupRecursive()1305 DCHECK(is_function_scope()); in AllocateParameterLocals()1489 if (is_function_scope()) AllocateParameterLocals(isolate); in AllocateVariablesRecursively()[all …]
53 if (scope->is_function_scope() && scope->function() != NULL) { in Create()82 scope->is_function_scope() && scope->has_simple_parameters(); in Create()
789 if (scope->is_function_scope()) { in GetNestedScopeChain()
80 if (!scope->is_function_scope()) FAIL(fun, "not at function scope"); in VisitAsmModule()500 DCHECK(scope->is_function_scope()); in VisitFunctionLiteral()
1040 scope()->is_function_scope()) { in EmitNewClosure()
1966 if (declaration_scope->is_function_scope() || in Declare()4566 DCHECK(scope_->is_function_scope()); in BuildParameterInitializationBlock()5098 DCHECK(function_scope->is_function_scope()); in InsertShadowingVarBindingInitializers()
3083 if (!scope_->ReceiverScope()->is_function_scope()) { in ParseNewTargetExpression()
510 DCHECK(closure_scope->is_function_scope()); in GetFunctionClosureForContext()3232 DCHECK(scope->is_function_scope() || scope->is_eval_scope()); in BuildLocalFunctionContext()
3131 DCHECK(closure_scope->is_function_scope()); in VisitFunctionClosureForContext()
3564 DCHECK(closure_scope->is_function_scope()); in PushFunctionArgumentForContextAllocation()
3556 DCHECK(closure_scope->is_function_scope()); in PushFunctionArgumentForContextAllocation()
3728 DCHECK(closure_scope->is_function_scope()); in PushFunctionArgumentForContextAllocation()
3554 DCHECK(closure_scope->is_function_scope()); in PushFunctionArgumentForContextAllocation()
3676 DCHECK(closure_scope->is_function_scope()); in PushFunctionArgumentForContextAllocation()
3663 DCHECK(closure_scope->is_function_scope()); in PushFunctionArgumentForContextAllocation()
3563 DCHECK(closure_scope->is_function_scope()); in PushFunctionArgumentForContextAllocation()
3656 DCHECK(closure_scope->is_function_scope()); in PushFunctionArgumentForContextAllocation()
3672 DCHECK(closure_scope->is_function_scope()); in PushFunctionArgumentForContextAllocation()