/external/v8/src/ast/ |
D | scopes.h | 643 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 …]
|
D | scopes.cc | 185 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 …]
|
D | ast.cc | 268 FunctionKind FunctionLiteral::kind() const { return scope()->function_kind(); } in kind()
|
/external/v8/src/parsing/ |
D | parse-info.h | 162 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()
|
D | parser-base.h | 411 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 …]
|
D | preparsed-scope-data.cc | 329 return !IsDefaultConstructor(scope->AsDeclarationScope()->function_kind()); in ScopeNeedsData()
|
D | parser.cc | 737 } 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/ |
D | scope-info.cc | 163 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
|
D | scope-info.h | 157 FunctionKind function_kind() const;
|
/external/v8/src/interpreter/ |
D | bytecode-generator.h | 330 inline FunctionKind function_kind() const;
|
D | bytecode-generator.cc | 1107 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/ |
D | objects-debug.cc | 1006 CHECK(kind() == info->function_kind()); in SharedFunctionInfoVerify()
|
D | objects-printer.cc | 2056 os << "\n - function kind: " << function_kind(); in ScopeInfoPrint()
|
D | code-stub-assembler.cc | 2571 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()
|
D | objects.cc | 1251 FunctionKind function_kind; in GetOrCreateSharedFunctionInfo() local 1253 function_kind = kConciseMethod; in GetOrCreateSharedFunctionInfo() 1255 function_kind = kNormalFunction; in GetOrCreateSharedFunctionInfo() 1259 function_kind); in GetOrCreateSharedFunctionInfo()
|