Home
last modified time | relevance | path

Searched refs:function_kind (Results 1 – 15 of 15) sorted by relevance

/external/v8/src/ast/
Dscopes.h643 FunctionKind function_kind = kNormalFunction);
651 FunctionKind function_kind() const { return function_kind_; } in function_kind() function
659 DCHECK(IsConciseMethod(function_kind()) || in RecordSuperPropertyUsage()
660 IsAccessorFunction(function_kind()) || in RecordSuperPropertyUsage()
661 IsClassConstructor(function_kind())); in RecordSuperPropertyUsage()
668 (inner_scope_calls_eval_ && (IsConciseMethod(function_kind()) || in NeedsHomeObject()
669 IsAccessorFunction(function_kind()) || in NeedsHomeObject()
670 IsClassConstructor(function_kind()))); in NeedsHomeObject()
699 return IsClassFieldsInitializerFunction(function_kind()); in should_ban_arguments()
829 (is_function_scope() && (IsClassConstructor(function_kind()) || in this_function_var()
[all …]
Dscopes.cc185 FunctionKind function_kind) in DeclarationScope() argument
187 function_kind_(function_kind), in DeclarationScope()
279 function_kind_(scope_info->function_kind()), in DeclarationScope()
1159 FunctionKind function_kind = in DeclareVariable() local
1166 !IsAsyncFunction(function_kind) && in DeclareVariable()
1167 !IsGeneratorFunction(function_kind); in DeclareVariable()
1595 const char* Header(ScopeType scope_type, FunctionKind function_kind, in Header() argument
1601 if (IsGeneratorFunction(function_kind)) return "function*"; in Header()
1602 if (IsAsyncFunction(function_kind)) return "async function"; in Header()
1603 if (IsArrowFunction(function_kind)) return "arrow"; in Header()
[all …]
Dast.cc268 FunctionKind FunctionLiteral::kind() const { return scope()->function_kind(); } in kind()
/external/v8/src/parsing/
Dparse-info.h162 FunctionKind function_kind() const { return function_kind_; } in function_kind() function
163 void set_function_kind(FunctionKind function_kind) { in set_function_kind() argument
164 function_kind_ = function_kind; in set_function_kind()
Dparser-base.h411 FunctionKind kind() const { return scope()->function_kind(); } in kind()
1084 IdentifierT ParseIdentifierOrStrictReservedWord(FunctionKind function_kind,
1769 FunctionKind function_kind, bool* is_strict_reserved, bool* is_await, in ParseIdentifierOrStrictReservedWord() argument
1773 !IsAsyncFunction(function_kind)) || in ParseIdentifierOrStrictReservedWord()
1780 (next == Token::YIELD && !IsGeneratorFunction(function_kind))) { in ParseIdentifierOrStrictReservedWord()
3568 FunctionKind function_kind = Check(Token::MUL) in ParseMemberExpression() local
3588 function_kind, &is_strict_reserved_name, &is_await, CHECK_OK); in ParseMemberExpression()
3596 function_kind, function_token_position, function_type, language_mode(), in ParseMemberExpression()
3652 FunctionKind kind = scope->function_kind(); in ParseSuperExpression()
4289 FunctionKind function_kind, in CheckArityRestrictions() argument
[all …]
Dpreparsed-scope-data.cc329 return !IsDefaultConstructor(scope->AsDeclarationScope()->function_kind()); in ScopeNeedsData()
Dparser.cc737 } else if (IsConciseMethod(info->function_kind()) || in ComputeFunctionType()
738 IsAccessorFunction(info->function_kind())) { in ComputeFunctionType()
774 FunctionKind kind = info->function_kind(); in DoParseFunction()
3242 DCHECK_EQ(scope->function_kind(), in CreateInitializerFunction()
/external/v8/src/objects/
Dscope-info.cc163 FunctionKind function_kind = kNormalFunction; in Create() local
165 function_kind = scope->AsDeclarationScope()->function_kind(); in Create()
181 FunctionKindField::encode(function_kind) | in Create()
777 FunctionKind ScopeInfo::function_kind() const { in function_kind() function in v8::internal::ScopeInfo
Dscope-info.h157 FunctionKind function_kind() const;
/external/v8/src/interpreter/
Dbytecode-generator.h330 inline FunctionKind function_kind() const;
Dbytecode-generator.cc1107 if (IsBaseConstructor(function_kind()) && in GenerateBytecodeBody()
3045 if (IsAsyncGeneratorFunction(function_kind())) { in VisitYield()
3077 DCHECK(IsAsyncGeneratorFunction(function_kind())); in VisitYield()
3105 if (IsAsyncGeneratorFunction(function_kind())) { in VisitYield()
3186 IteratorType iterator_type = IsAsyncGeneratorFunction(function_kind()) in VisitYieldStar()
3372 if (IsAsyncGeneratorFunction(function_kind())) { in BuildAwait()
5072 FunctionKind BytecodeGenerator::function_kind() const { in function_kind() function in v8::internal::interpreter::BytecodeGenerator
/external/v8/src/
Dobjects-debug.cc1006 CHECK(kind() == info->function_kind()); in SharedFunctionInfoVerify()
Dobjects-printer.cc2056 os << "\n - function kind: " << function_kind(); in ScopeInfoPrint()
Dcode-stub-assembler.cc2571 TNode<Uint32T> const function_kind = in IsGeneratorFunction() local
2579 Word32Equal(function_kind, in IsGeneratorFunction()
2582 function_kind, in IsGeneratorFunction()
2584 Word32Equal(function_kind, in IsGeneratorFunction()
2586 Word32Equal(function_kind, in IsGeneratorFunction()
Dobjects.cc1251 FunctionKind function_kind; in GetOrCreateSharedFunctionInfo() local
1253 function_kind = kConciseMethod; in GetOrCreateSharedFunctionInfo()
1255 function_kind = kNormalFunction; in GetOrCreateSharedFunctionInfo()
1259 function_kind); in GetOrCreateSharedFunctionInfo()