Home
last modified time | relevance | path

Searched refs:FunctionLiteral (Results 1 – 25 of 49) sorted by relevance

12

/external/v8/test/cctest/
Dtest-asm-validator.cc72 FunctionLiteral* root = in Validate()
129 CHECK_EXPR(FunctionLiteral, Bounds::Unbounded()) { in TEST()
131 CHECK_EXPR(FunctionLiteral, FUNC_II2D_TYPE) { in TEST()
224 CHECK_EXPR(FunctionLiteral, FUNC_II2D_TYPE) { in TEST()
518 CHECK_EXPR(FunctionLiteral, Bounds::Unbounded()) {
555 CHECK_EXPR(FunctionLiteral, FUNC_V_TYPE) {} in TEST()
565 CHECK_EXPR(FunctionLiteral, FUNC_V_TYPE) { in TEST()
569 CHECK_EXPR(FunctionLiteral, FUNC_V_TYPE) { in TEST()
583 CHECK_EXPR(FunctionLiteral, FUNC_V_TYPE); in TEST()
584 CHECK_EXPR(FunctionLiteral, FUNC_V_TYPE) { in TEST()
[all …]
Dtest-ast-expression-visitor.cc91 CHECK_EXPR(FunctionLiteral, Bounds::Unbounded()) { in TEST()
92 CHECK_EXPR(FunctionLiteral, Bounds::Unbounded()) { in TEST()
185 CHECK_EXPR(FunctionLiteral, Bounds::Unbounded()) { in TEST()
285 CHECK_EXPR(FunctionLiteral, Bounds::Unbounded()) { in TEST()
311 CHECK_EXPR(FunctionLiteral, Bounds::Unbounded()) {} in TEST()
328 CHECK_EXPR(FunctionLiteral, Bounds::Unbounded()) { in TEST()
353 CHECK_EXPR(FunctionLiteral, Bounds::Unbounded()) { in TEST()
374 CHECK_EXPR(FunctionLiteral, Bounds::Unbounded()) { in TEST()
410 CHECK_EXPR(FunctionLiteral, Bounds::Unbounded()) { in TEST()
Dtest-typing-reset.cc28 TypeSetter(Isolate* isolate, FunctionLiteral* root) in TypeSetter()
42 CHECK_EXPR(FunctionLiteral, expected_type) { in CheckAllSame()
43 CHECK_EXPR(FunctionLiteral, expected_type) { in CheckAllSame()
136 CHECK_EXPR(FunctionLiteral, expected_type) { in CheckAllSame()
281 FunctionLiteral* root = in TEST()
Dexpression-type-collector.h26 ExpressionTypeCollector(Isolate* isolate, FunctionLiteral* root,
Dexpression-type-collector.cc32 Isolate* isolate, FunctionLiteral* root, in ExpressionTypeCollector()
/external/v8/src/wasm/
Dasm-wasm-builder.h15 class FunctionLiteral; variable
21 explicit AsmWasmBuilder(Isolate* isolate, Zone* zone, FunctionLiteral* root);
27 FunctionLiteral* literal_;
/external/v8/src/ast/
Dprettyprinter.h21 const char* Print(FunctionLiteral* program, int position);
62 const char* PrintExpression(FunctionLiteral* program);
63 const char* PrintProgram(FunctionLiteral* program);
91 void PrintFunctionLiteral(FunctionLiteral* function);
105 const char* PrintProgram(FunctionLiteral* program);
Dast.cc192 bool FunctionLiteral::AllowsLazyCompilation() { in AllowsLazyCompilation()
197 bool FunctionLiteral::AllowsLazyCompilationWithoutContext() { in AllowsLazyCompilationWithoutContext()
202 int FunctionLiteral::start_position() const { in start_position()
207 int FunctionLiteral::end_position() const { in end_position()
212 LanguageMode FunctionLiteral::language_mode() const { in language_mode()
217 bool FunctionLiteral::NeedsHomeObject(Expression* expr) { in NeedsHomeObject()
270 if (FunctionLiteral::NeedsHomeObject(value)) { in AssignFeedbackVectorSlots()
318 if (FunctionLiteral::NeedsHomeObject(value)) { in AssignFeedbackVectorSlots()
324 if (property->emit_store() && FunctionLiteral::NeedsHomeObject(value)) { in AssignFeedbackVectorSlots()
331 if (property->emit_store() && FunctionLiteral::NeedsHomeObject(value)) { in AssignFeedbackVectorSlots()
[all …]
Dast-numbering.h12 class FunctionLiteral; variable
19 bool Renumber(Isolate* isolate, Zone* zone, FunctionLiteral* function);
Dast-numbering.cc26 bool Renumber(FunctionLiteral* node);
34 bool Finish(FunctionLiteral* node);
552 void AstNumberingVisitor::VisitFunctionLiteral(FunctionLiteral* node) { in VisitFunctionLiteral()
554 node->set_base_id(ReserveIdRange(FunctionLiteral::num_ids())); in VisitFunctionLiteral()
568 bool AstNumberingVisitor::Finish(FunctionLiteral* node) { in Finish()
575 bool AstNumberingVisitor::Renumber(FunctionLiteral* node) { in Renumber()
602 FunctionLiteral* function) { in Renumber()
Dast-expression-rewriter.cc63 AST_REWRITE_PROPERTY(FunctionLiteral, node, fun); in VisitFunctionDeclaration()
201 void AstExpressionRewriter::VisitFunctionLiteral(FunctionLiteral* node) { in VisitFunctionLiteral()
215 AST_REWRITE_PROPERTY(FunctionLiteral, node, constructor); in VisitClassLiteral()
Dast.h67 V(FunctionLiteral) \
583 FunctionLiteral* fun() const { return fun_; } in DECLARE_NODE_TYPE()
584 void set_fun(FunctionLiteral* f) { fun_ = f; } in set_fun()
594 FunctionLiteral* fun, in FunctionDeclaration()
604 FunctionLiteral* fun_;
2612 class FunctionLiteral final : public Expression {
2627 DECLARE_NODE_TYPE(FunctionLiteral) in DECLARE_NODE_TYPE() argument
2733 FunctionLiteral(Zone* zone, const AstString* name, in FunctionLiteral() function
2810 FunctionLiteral* constructor() const { return constructor_; } in constructor()
2811 void set_constructor(FunctionLiteral* f) { constructor_ = f; } in set_constructor()
[all …]
Dprettyprinter.cc31 const char* CallPrinter::Print(FunctionLiteral* program, int position) { in Print()
217 void CallPrinter::VisitFunctionLiteral(FunctionLiteral* node) { in VisitFunctionLiteral()
713 void PrettyPrinter::VisitFunctionLiteral(FunctionLiteral* node) { in VisitFunctionLiteral()
945 const char* PrettyPrinter::PrintExpression(FunctionLiteral* program) { in PrintExpression()
954 const char* PrettyPrinter::PrintProgram(FunctionLiteral* program) { in PrintProgram()
1097 void PrettyPrinter::PrintFunctionLiteral(FunctionLiteral* function) { in PrintFunctionLiteral()
1193 const char* AstPrinter::PrintProgram(FunctionLiteral* program) { in PrintProgram()
1418 void AstPrinter::VisitFunctionLiteral(FunctionLiteral* node) { in VisitFunctionLiteral()
/external/v8/src/parsing/
Dparser.h108 FunctionLiteral* literal() { return literal_; } in literal()
109 void set_literal(FunctionLiteral* literal) { literal_ = literal; } in set_literal()
201 FunctionLiteral* literal_; // produced by full parser.
342 typedef v8::internal::FunctionLiteral* FunctionLiteral; typedef
400 FunctionLiteral* func_to_infer) { in InferFunctionName()
489 static FunctionLiteral* EmptyFunctionLiteral() { return NULL; } in EmptyFunctionLiteral()
566 FunctionLiteral* ParseFunctionLiteral(
569 int function_token_position, FunctionLiteral::FunctionType type,
570 FunctionLiteral::ArityRestriction arity_restriction,
578 FunctionLiteral::FunctionType function_type, bool* ok);
[all …]
Dfunc-name-inferrer.h17 class FunctionLiteral; variable
62 void AddFunction(FunctionLiteral* func_to_infer) { in AddFunction()
117 ZoneList<FunctionLiteral*> funcs_to_infer_;
Dpreparser.h546 FunctionLiteral::ParameterFlag has_duplicate_parameters, in NewFunctionLiteral()
547 FunctionLiteral::FunctionType function_type, in NewFunctionLiteral()
548 FunctionLiteral::EagerCompileHint eager_compile_hint, FunctionKind kind, in NewFunctionLiteral()
599 typedef PreParserExpression FunctionLiteral; typedef
850 FunctionLiteral::FunctionType function_type, bool* ok);
904 int function_token_position, FunctionLiteral::FunctionType type,
905 FunctionLiteral::ArityRestriction arity_restriction,
1068 FunctionLiteral::FunctionType function_type, bool* ok);
1073 int function_token_pos, FunctionLiteral::FunctionType function_type,
1074 FunctionLiteral::ArityRestriction arity_restriction,
[all …]
Dparameter-initializer-rewriter.cc28 void VisitFunctionLiteral(FunctionLiteral* expr) override;
37 void Rewriter::VisitFunctionLiteral(FunctionLiteral* function_literal) { in VisitFunctionLiteral()
Dparser.cc182 FunctionLiteral* Parser::DefaultConstructor(bool call_super, Scope* scope, in DefaultConstructor()
238 FunctionLiteral* function_literal = factory()->NewFunctionLiteral( in DefaultConstructor()
241 FunctionLiteral::kNoDuplicateParameters, in DefaultConstructor()
242 FunctionLiteral::kAnonymousExpression, in DefaultConstructor()
243 FunctionLiteral::kShouldLazyCompile, kind, pos); in DefaultConstructor()
720 FunctionLiteral* ParserTraits::ParseFunctionLiteral( in ParseFunctionLiteral()
723 int function_token_position, FunctionLiteral::FunctionType type, in ParseFunctionLiteral()
724 FunctionLiteral::ArityRestriction arity_restriction, in ParseFunctionLiteral()
783 FunctionLiteral* Parser::ParseProgram(Isolate* isolate, ParseInfo* info) { in ParseProgram()
810 FunctionLiteral* result; in ParseProgram()
[all …]
Dparser-base.h87 typedef typename Traits::Type::FunctionLiteral FunctionLiteralT;
798 int param_count, FunctionLiteral::ArityRestriction arity_restriction,
1762 RelocInfo::kNoPosition, FunctionLiteral::kAnonymousExpression, in ParsePropertyDefinition()
1763 FunctionLiteral::kNormalArity, language_mode(), in ParsePropertyDefinition()
1803 typename Traits::Type::FunctionLiteral value = this->ParseFunctionLiteral( in ParsePropertyDefinition()
1805 RelocInfo::kNoPosition, FunctionLiteral::kAnonymousExpression, in ParsePropertyDefinition()
1806 is_get ? FunctionLiteral::kGetterArity : FunctionLiteral::kSetterArity, in ParsePropertyDefinition()
2591 FunctionLiteral::FunctionType function_type = in ParseMemberExpression()
2592 FunctionLiteral::kAnonymousExpression; in ParseMemberExpression()
2597 function_type = FunctionLiteral::kNamedExpression; in ParseMemberExpression()
[all …]
/external/v8/src/
Dtyping-asm.h23 FunctionLiteral* root);
69 FunctionLiteral* root_;
132 void VisitFunctionAnnotation(FunctionLiteral* f);
133 void VisitAsmModule(FunctionLiteral* f);
Dtyping-reset.cc17 TypingReseter::TypingReseter(Isolate* isolate, FunctionLiteral* root) in TypingReseter()
Dtyping-reset.h18 TypingReseter(Isolate* isolate, FunctionLiteral* root);
Dcodegen.cc174 FunctionLiteral* literal = info->literal(); in PrintCode()
203 FunctionLiteral* literal = info->literal(); in PrintCode()
/external/v8/src/crankshaft/
Dtyping.h23 Scope* scope, BailoutId osr_ast_id, FunctionLiteral* root);
41 FunctionLiteral* root_;
/external/v8/src/debug/
Dliveedit.h45 explicit LiveEditFunctionTracker(Isolate* isolate, FunctionLiteral* fun);
48 FunctionLiteral* lit, Zone* zone);

12