Home
last modified time | relevance | path

Searched refs:is_function_scope (Results 1 - 11 of 11) sorted by relevance

/third_party/node/deps/v8/src/ast/
H A Dscopes.cc322 (is_function_scope() && !is_arrow_scope()) || is_module_scope(); in SetDefaults()
386 return !scope->is_function_scope() || scope->has_simple_parameters(); in HasSimpleParameters()
397 return is_function_scope() && AsDeclarationScope()->is_asm_module(); in IsAsmModule()
406 if (!scope->is_function_scope() || in ContainsAsmModule()
595 DCHECK(is_function_scope() || is_eval_scope() || is_script_scope() || in HoistSloppyBlockFunctions()
596 (is_block_scope() && outer_scope()->is_function_scope())); in HoistSloppyBlockFunctions()
605 DCHECK(parameter_scope->is_function_scope() || is_eval_scope() || in HoistSloppyBlockFunctions()
747 DCHECK(is_function_scope()); in DeclareArguments()
780 DCHECK(is_function_scope()); in DeclareDefaultFunctionVariables()
801 DCHECK(is_function_scope()); in DeclareFunctionVar()
[all...]
H A Dscopes.h357 bool is_function_scope() const { return scope_type_ == FUNCTION_SCOPE; } in is_function_scope() function in v8::internal::Scope
884 return is_function_scope() && IsArrowFunction(function_kind_); in is_arrow_scope()
1055 DCHECK(is_function_scope() || is_module_scope() || is_repl_mode_scope()); in generator_object_var()
1062 DCHECK(is_function_scope() || is_module_scope()); in parameter()
1087 DCHECK(is_function_scope()); in SetHasNonSimpleParameters()
1102 DCHECK(is_function_scope()); in GetArgumentsType()
1122 (is_function_scope() && (IsClassConstructor(function_kind()) || in this_function_var()
1200 DCHECK(is_function_scope()); in set_has_inferred_function_name()
/third_party/node/deps/v8/src/interpreter/
H A Dbytecode-flags.cc33 uint8_t CreateClosureFlags::Encode(bool pretenure, bool is_function_scope, in Encode() argument
36 if (!might_always_opt && !pretenure && is_function_scope) { in Encode()
H A Dbytecode-flags.h47 static uint8_t Encode(bool pretenure, bool is_function_scope,
H A Dbytecode-generator.cc2517 expr->pretenure(), closure_scope()->is_function_scope(), in VisitFunctionLiteral()
6838 DCHECK(scope->is_function_scope() || scope->is_eval_scope()); in BuildNewLocalActivationContext()
/third_party/node/deps/v8/src/parsing/
H A Dpreparser.cc373 DCHECK_EQ(this->scope()->is_function_scope(), formals->is_simple); in ParseStatementListAndLogFunction()
381 DCHECK(scope()->is_function_scope()); in BuildParameterInitializationBlock()
H A Dpreparse-data.cc269 if (scope->is_function_scope()) { in ScopeNeedsData()
371 scope->is_function_scope() && in SaveDataForScope()
380 if (scope->is_function_scope()) { in SaveDataForScope()
696 if (scope->is_function_scope()) { in RestoreDataForScope()
H A Dparser.cc2940 DCHECK(scope()->is_function_scope()); in BuildParameterInitializationBlock()
3324 DCHECK(function_scope->is_function_scope()); in InsertShadowingVarBindingInitializers()
H A Dparser-base.h3800 if (!GetReceiverScope()->is_function_scope()) { in ParseNewTargetExpression()
/third_party/node/deps/v8/src/debug/
H A Ddebug-scopes.cc143 DCHECK(scope->is_function_scope()); in RetrieveScopeChainDefaultConstructor()
412 current_scope_->is_function_scope() && !function_.is_null() && in NeedsAndHasContext()
814 if (current_scope_->is_function_scope()) { in VisitLocals()
/third_party/node/deps/v8/src/objects/
H A Dscope-info.cc114 const bool has_inferred_function_name = scope->is_function_scope(); in Create()
118 if (scope->is_function_scope()) { in Create()
203 if (scope->is_function_scope()) { in Create()

Completed in 38 milliseconds