Home
last modified time | relevance | path

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

12

/external/v8/test/cctest/
Dtest-asm-validator.cc71 FunctionLiteral* root = in Validate()
128 CHECK_EXPR(FunctionLiteral, Bounds::Unbounded()) { in TEST()
130 CHECK_EXPR(FunctionLiteral, FUNC_II2D_TYPE) { in TEST()
223 CHECK_EXPR(FunctionLiteral, FUNC_II2D_TYPE) { in TEST()
512 CHECK_EXPR(FunctionLiteral, Bounds::Unbounded()) {
548 CHECK_EXPR(FunctionLiteral, FUNC_V_TYPE) {} in TEST()
558 CHECK_EXPR(FunctionLiteral, FUNC_V_TYPE) { in TEST()
562 CHECK_EXPR(FunctionLiteral, FUNC_V_TYPE) { in TEST()
576 CHECK_EXPR(FunctionLiteral, FUNC_V_TYPE); in TEST()
577 CHECK_EXPR(FunctionLiteral, FUNC_V_TYPE) { in TEST()
[all …]
Dexpression-type-collector.h28 ExpressionTypeCollector(Isolate* isolate, FunctionLiteral* root,
Dexpression-type-collector.cc32 Isolate* isolate, FunctionLiteral* root, const AstTypeBounds* bounds, in ExpressionTypeCollector()
/external/v8/src/wasm/
Dasm-wasm-builder.h17 class FunctionLiteral; variable
23 explicit AsmWasmBuilder(Isolate* isolate, Zone* zone, FunctionLiteral* root,
30 FunctionLiteral* literal_;
/external/v8/src/ast/
Dprettyprinter.h22 const char* Print(FunctionLiteral* program, int position);
64 const char* PrintExpression(FunctionLiteral* program);
65 const char* PrintProgram(FunctionLiteral* program);
94 void PrintFunctionLiteral(FunctionLiteral* function);
108 const char* PrintProgram(FunctionLiteral* program);
Dast-numbering.h12 class FunctionLiteral; variable
19 bool Renumber(Isolate* isolate, Zone* zone, FunctionLiteral* function);
Dast.cc213 bool FunctionLiteral::AllowsLazyCompilation() { in AllowsLazyCompilation()
218 bool FunctionLiteral::AllowsLazyCompilationWithoutContext() { in AllowsLazyCompilationWithoutContext()
223 int FunctionLiteral::start_position() const { in start_position()
228 int FunctionLiteral::end_position() const { in end_position()
233 LanguageMode FunctionLiteral::language_mode() const { in language_mode()
238 bool FunctionLiteral::NeedsHomeObject(Expression* expr) { in NeedsHomeObject()
298 if (FunctionLiteral::NeedsHomeObject(value)) { in AssignFeedbackVectorSlots()
346 if (FunctionLiteral::NeedsHomeObject(value)) { in AssignFeedbackVectorSlots()
352 if (property->emit_store() && FunctionLiteral::NeedsHomeObject(value)) { in AssignFeedbackVectorSlots()
359 if (property->emit_store() && FunctionLiteral::NeedsHomeObject(value)) { in AssignFeedbackVectorSlots()
[all …]
Dast-numbering.cc27 bool Renumber(FunctionLiteral* node);
552 void AstNumberingVisitor::VisitFunctionLiteral(FunctionLiteral* node) { in VisitFunctionLiteral()
554 node->set_base_id(ReserveIdRange(FunctionLiteral::num_ids())); in VisitFunctionLiteral()
568 bool AstNumberingVisitor::Renumber(FunctionLiteral* node) { in Renumber()
599 FunctionLiteral* function) { in Renumber()
Dast.h67 V(FunctionLiteral) \
553 FunctionLiteral* fun() const { return fun_; } in DECLARE_NODE_TYPE()
554 void set_fun(FunctionLiteral* f) { fun_ = f; } in set_fun()
564 FunctionLiteral* fun, in FunctionDeclaration()
574 FunctionLiteral* fun_;
2571 class FunctionLiteral final : public Expression {
2584 DECLARE_NODE_TYPE(FunctionLiteral) in DECLARE_NODE_TYPE() argument
2705 FunctionLiteral(Zone* zone, const AstString* name, in FunctionLiteral() function
2774 FunctionLiteral* constructor() const { return constructor_; } in constructor()
2775 void set_constructor(FunctionLiteral* f) { constructor_ = f; } in set_constructor()
[all …]
Dast-expression-rewriter.cc63 AST_REWRITE_PROPERTY(FunctionLiteral, node, fun); in VisitFunctionDeclaration()
199 void AstExpressionRewriter::VisitFunctionLiteral(FunctionLiteral* node) { in VisitFunctionLiteral()
213 AST_REWRITE_PROPERTY(FunctionLiteral, node, constructor); in VisitClassLiteral()
Dprettyprinter.cc32 const char* CallPrinter::Print(FunctionLiteral* program, int position) { in Print()
219 void CallPrinter::VisitFunctionLiteral(FunctionLiteral* node) { in VisitFunctionLiteral()
741 void PrettyPrinter::VisitFunctionLiteral(FunctionLiteral* node) { in VisitFunctionLiteral()
972 const char* PrettyPrinter::PrintExpression(FunctionLiteral* program) { in PrintExpression()
981 const char* PrettyPrinter::PrintProgram(FunctionLiteral* program) { in PrintProgram()
1125 void PrettyPrinter::PrintFunctionLiteral(FunctionLiteral* function) { in PrintFunctionLiteral()
1221 const char* AstPrinter::PrintProgram(FunctionLiteral* program) { in PrintProgram()
1470 void AstPrinter::VisitFunctionLiteral(FunctionLiteral* node) { in VisitFunctionLiteral()
Dast-expression-visitor.cc25 void AstExpressionVisitor::VisitFunctionLiteral(FunctionLiteral* expr) { in VisitFunctionLiteral()
/external/v8/src/parsing/
Dfunc-name-inferrer.h17 class FunctionLiteral; variable
62 void AddFunction(FunctionLiteral* func_to_infer) { in AddFunction()
117 ZoneList<FunctionLiteral*> funcs_to_infer_;
Dparser.h107 FunctionLiteral* literal() { return literal_; } in literal()
108 void set_literal(FunctionLiteral* literal) { literal_ = literal; } in set_literal()
196 FunctionLiteral* literal_; // produced by full parser.
337 typedef v8::internal::FunctionLiteral* FunctionLiteral; typedef
402 FunctionLiteral* func_to_infer) { in InferFunctionName()
488 static FunctionLiteral* EmptyFunctionLiteral() { return NULL; } in EmptyFunctionLiteral()
570 FunctionLiteral* ParseFunctionLiteral(
573 int function_token_position, FunctionLiteral::FunctionType type,
581 FunctionLiteral::FunctionType function_type, bool* ok);
736 FunctionLiteral* ParseProgram(Isolate* isolate, ParseInfo* info);
[all …]
Dpreparser.h548 FunctionLiteral::ParameterFlag has_duplicate_parameters, in NewFunctionLiteral()
549 FunctionLiteral::FunctionType function_type, in NewFunctionLiteral()
550 FunctionLiteral::EagerCompileHint eager_compile_hint, FunctionKind kind, in NewFunctionLiteral()
605 typedef PreParserExpression FunctionLiteral; typedef
874 FunctionLiteral::FunctionType function_type, bool* ok);
934 int function_token_position, FunctionLiteral::FunctionType type,
1146 FunctionLiteral::FunctionType function_type, bool* ok);
1151 int function_token_pos, FunctionLiteral::FunctionType function_type,
1243 FunctionLiteral::FunctionType function_type, bool* ok) { in ParseEagerFunctionBody()
1263 FunctionLiteral::FunctionType function_type, bool* ok) { in ParseEagerFunctionBody()
Dparameter-initializer-rewriter.cc35 void VisitFunctionLiteral(FunctionLiteral* expr) override;
68 void Rewriter::VisitFunctionLiteral(FunctionLiteral* function_literal) { in VisitFunctionLiteral()
Dparser.cc181 FunctionLiteral* Parser::DefaultConstructor(const AstRawString* name, in DefaultConstructor()
248 FunctionLiteral* function_literal = factory()->NewFunctionLiteral( in DefaultConstructor()
251 FunctionLiteral::kNoDuplicateParameters, in DefaultConstructor()
252 FunctionLiteral::kAnonymousExpression, in DefaultConstructor()
253 FunctionLiteral::kShouldLazyCompile, kind, pos); in DefaultConstructor()
762 FunctionLiteral* ParserTraits::ParseFunctionLiteral( in ParseFunctionLiteral()
765 int function_token_position, FunctionLiteral::FunctionType type, in ParseFunctionLiteral()
831 FunctionLiteral* Parser::ParseProgram(Isolate* isolate, ParseInfo* info) { in ParseProgram()
860 FunctionLiteral* result; in ParseProgram()
901 FunctionLiteral* Parser::DoParseProgram(ParseInfo* info) { in DoParseProgram()
[all …]
Dpreparser.cc97 int function_token_position, FunctionLiteral::FunctionType type, in ParseFunctionLiteral()
416 pos, FunctionLiteral::kDeclaration, language_mode(), in ParseHoistableDeclaration()
1092 int function_token_pos, FunctionLiteral::FunctionType function_type, in ParseFunctionLiteral()
1164 FunctionLiteral::FunctionType type = FunctionLiteral::kAnonymousExpression; in ParseAsyncFunctionExpression()
1167 type = FunctionLiteral::kNamedExpression; in ParseAsyncFunctionExpression()
Dparser-base.h171 typedef typename Traits::Type::FunctionLiteral FunctionLiteralT;
2028 RelocInfo::kNoPosition, FunctionLiteral::kAccessorOrMethod, in ParsePropertyDefinition()
2064 typename Traits::Type::FunctionLiteral value = this->ParseFunctionLiteral( in ParsePropertyDefinition()
2067 RelocInfo::kNoPosition, FunctionLiteral::kAccessorOrMethod, in ParsePropertyDefinition()
3003 FunctionLiteral::FunctionType function_type = in ParseMemberExpression()
3004 FunctionLiteral::kAnonymousExpression; in ParseMemberExpression()
3009 function_type = FunctionLiteral::kNamedExpression; in ParseMemberExpression()
3361 arrow_kind, FunctionLiteral::kAnonymousExpression, CHECK_OK); in ParseArrowFunctionLiteral()
3420 FunctionLiteral::kNoDuplicateParameters, in ParseArrowFunctionLiteral()
3421 FunctionLiteral::kAnonymousExpression, in ParseArrowFunctionLiteral()
[all …]
/external/v8/src/
Dtyping-asm.h24 FunctionLiteral* root);
71 FunctionLiteral* root_;
137 void VisitFunctionAnnotation(FunctionLiteral* f);
138 void VisitAsmModule(FunctionLiteral* f);
Dcompiler.h102 FunctionLiteral* node, Handle<Script> script, CompilationInfo* outer);
163 FunctionLiteral* literal() const;
/external/v8/src/crankshaft/
Dtyping.h23 Scope* scope, BailoutId osr_ast_id, FunctionLiteral* root,
42 FunctionLiteral* root_;
/external/v8/src/debug/
Dliveedit.h46 static Handle<JSArray> Collect(FunctionLiteral* node, Handle<Script> script,
50 void VisitFunctionLiteral(FunctionLiteral* node) override;
55 void FunctionStarted(FunctionLiteral* fun);
/external/v8/src/interpreter/
Dbytecode-array-builder.h32 FunctionLiteral* literal = nullptr);
257 void InitializeReturnPosition(FunctionLiteral* literal);
/external/v8/src/full-codegen/
Dfull-codegen.h640 return FunctionLiteral::NeedsHomeObject(expr); in NeedsHomeObject()
663 void SetFunctionPosition(FunctionLiteral* fun);
664 void SetReturnPosition(FunctionLiteral* fun);
717 FunctionLiteral* literal() const { return info_->literal(); } in literal()

12