Home
last modified time | relevance | path

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

12

/external/v8/src/
Dunoptimized-compilation-info.h22 class FunctionLiteral; variable
33 FunctionLiteral* literal);
50 FunctionLiteral* literal() const { return literal_; } in literal()
51 void set_literal(FunctionLiteral* literal) { in set_literal()
114 FunctionLiteral* literal_;
Dunoptimized-compilation-info.cc20 FunctionLiteral* literal) in UnoptimizedCompilationInfo()
/external/v8/src/debug/
Dliveedit.cc526 FunctionLiteral* literal;
530 SourcePositionEvent(FunctionLiteral* literal, bool is_start) in SourcePositionEvent()
577 FunctionLiteral* outer_literal;
579 explicit FunctionLiteralChange(int new_start_position, FunctionLiteral* outer) in FunctionLiteralChange()
587 std::unordered_map<FunctionLiteral*, FunctionLiteralChange>;
589 const std::vector<FunctionLiteral*>& literals, in CalculateFunctionLiteralChanges()
594 for (FunctionLiteral* literal : literals) { in CalculateFunctionLiteralChanges()
605 std::stack<std::pair<FunctionLiteral*, FunctionLiteralChange>> literal_stack; in CalculateFunctionLiteralChanges()
651 bool HasChangedScope(FunctionLiteral* a, FunctionLiteral* b) { in HasChangedScope()
674 using LiteralMap = std::unordered_map<FunctionLiteral*, FunctionLiteral*>;
[all …]
/external/v8/src/interpreter/
Dinterpreter.cc31 InterpreterCompilationJob(ParseInfo* parse_info, FunctionLiteral* literal,
33 ZoneVector<FunctionLiteral*>* eager_inner_literals);
165 ParseInfo* parse_info, FunctionLiteral* literal, in InterpreterCompilationJob()
167 ZoneVector<FunctionLiteral*>* eager_inner_literals) in InterpreterCompilationJob()
225 ParseInfo* parse_info, FunctionLiteral* literal, in NewCompilationJob()
227 ZoneVector<FunctionLiteral*>* eager_inner_literals) { in NewCompilationJob()
Dinterpreter.h25 class FunctionLiteral; variable
48 ParseInfo* parse_info, FunctionLiteral* literal,
50 ZoneVector<FunctionLiteral*>* eager_inner_literals);
Dbytecode-generator.h34 ZoneVector<FunctionLiteral*>* eager_inner_literals);
277 FeedbackSlot GetCachedCreateClosureSlot(FunctionLiteral* literal);
284 void AddToEagerLiteralsIfEager(FunctionLiteral* literal);
353 ZoneVector<FunctionLiteral*>* eager_inner_literals_;
360 ZoneVector<std::pair<FunctionLiteral*, size_t>> function_literals_;
/external/v8/src/parsing/
Dfunc-name-inferrer.h17 class FunctionLiteral; variable
64 void AddFunction(FunctionLiteral* func_to_infer) { in AddFunction()
113 ZoneChunkList<FunctionLiteral*> funcs_to_infer_;
Dparser.cc82 FunctionLiteral* Parser::DefaultConstructor(const AstRawString* name, in DefaultConstructor()
125 FunctionLiteral* function_literal = factory()->NewFunctionLiteral( in DefaultConstructor()
127 parameter_count, FunctionLiteral::kNoDuplicateParameters, in DefaultConstructor()
128 FunctionLiteral::kAnonymousExpression, default_eager_compile_hint(), pos, in DefaultConstructor()
442 ? FunctionLiteral::kShouldLazyCompile in Parser()
443 : FunctionLiteral::kShouldEagerCompile); in Parser()
481 void MaybeResetCharacterStream(ParseInfo* info, FunctionLiteral* literal) { in MaybeResetCharacterStream()
492 FunctionLiteral* Parser::ParseProgram(Isolate* isolate, ParseInfo* info) { in ParseProgram()
512 FunctionLiteral* result = DoParseProgram(isolate, info); in ParseProgram()
534 FunctionLiteral* Parser::DoParseProgram(Isolate* isolate, ParseInfo* info) { in DoParseProgram()
[all …]
Dparser.h123 typedef v8::internal::FunctionLiteral* FunctionLiteral;
215 FunctionLiteral* ParseProgram(Isolate* isolate, ParseInfo* info);
217 FunctionLiteral* ParseFunction(Isolate* isolate, ParseInfo* info,
219 FunctionLiteral* DoParseFunction(Isolate* isolate, ParseInfo* info,
223 FunctionLiteral* DoParseProgram(Isolate* isolate, ParseInfo* info);
308 FunctionLiteral::FunctionType function_type,
312 FunctionLiteral* function, VariableMode mode,
317 FunctionLiteral* CreateInitializerFunction(
385 FunctionLiteral* ParseFunctionLiteral(
388 int function_token_position, FunctionLiteral::FunctionType type,
[all …]
Dparse-info.h29 class FunctionLiteral; variable
128 FunctionLiteral* literal() const { return literal_; } in literal()
129 void set_literal(FunctionLiteral* literal) { literal_ = literal; } in set_literal()
280 FunctionLiteral* literal_;
Dexpression-scope-reparenter.cc27 void VisitFunctionLiteral(FunctionLiteral* expr);
39 void Reparenter::VisitFunctionLiteral(FunctionLiteral* function_literal) { in VisitFunctionLiteral()
Dparsing.cc35 FunctionLiteral* result = nullptr; in ParseProgram()
73 FunctionLiteral* result = nullptr; in ParseFunction()
Dpreparser.h728 FunctionLiteral::ParameterFlag has_duplicate_parameters,
729 FunctionLiteral::FunctionType function_type,
730 FunctionLiteral::EagerCompileHint eager_compile_hint, int position,
892 typedef PreParserExpression FunctionLiteral;
977 FunctionLiteral::FunctionType function_type,
1014 FunctionLiteral::FunctionType function_type,
1024 int function_token_pos, FunctionLiteral::FunctionType function_type,
1138 FunctionLiteral::FunctionType function_type,
1141 function_type == FunctionLiteral::kNamedExpression &&
1150 FunctionLiteral::FunctionType function_type,
Dpreparser.cc120 FunctionLiteral::FunctionType function_type, in PreParseFunction()
268 int function_token_pos, FunctionLiteral::FunctionType function_type, in ParseFunctionLiteral()
273 DCHECK_NE(FunctionLiteral::kWrapped, function_type); in ParseFunctionLiteral()
Dparse-info.cc32 function_literal_id_(FunctionLiteral::kIdTypeInvalid), in ParseInfo()
33 max_function_literal_id_(FunctionLiteral::kIdTypeInvalid), in ParseInfo()
Dfunc-name-inferrer.cc83 for (FunctionLiteral* func : funcs_to_infer_) { in InferFunctionsNames()
Dparser-base.h238 typedef typename Types::FunctionLiteral FunctionLiteralT;
277 default_eager_compile_hint_(FunctionLiteral::kShouldLazyCompile), in ParserBase()
328 FunctionLiteral::EagerCompileHint eager_compile_hint) { in set_default_eager_compile_hint()
332 FunctionLiteral::EagerCompileHint default_eager_compile_hint() const { in default_eager_compile_hint()
1212 FunctionLiteral::FunctionType function_type, bool* ok);
1567 FunctionLiteral::EagerCompileHint default_eager_compile_hint_;
2441 FunctionLiteral::kAccessorOrMethod, language_mode(), nullptr, in ParseClassPropertyDefinition()
2473 FunctionLiteral::kAccessorOrMethod, language_mode(), nullptr, in ParseClassPropertyDefinition()
2675 FunctionLiteral::kAccessorOrMethod, language_mode(), nullptr, in ParseObjectPropertyDefinition()
2707 FunctionLiteral::kAccessorOrMethod, language_mode(), nullptr, in ParseObjectPropertyDefinition()
[all …]
/external/v8/src/ast/
Dast.cc221 void FunctionLiteral::set_inferred_name(Handle<String> inferred_name) { in set_inferred_name()
229 void FunctionLiteral::set_raw_inferred_name( in set_raw_inferred_name()
238 bool FunctionLiteral::ShouldEagerCompile() const { in ShouldEagerCompile()
242 void FunctionLiteral::SetShouldEagerCompile() { in SetShouldEagerCompile()
246 bool FunctionLiteral::AllowsLazyCompilation() { in AllowsLazyCompilation()
250 Handle<String> FunctionLiteral::name(Isolate* isolate) const { in name()
254 int FunctionLiteral::start_position() const { in start_position()
259 int FunctionLiteral::end_position() const { in end_position()
264 LanguageMode FunctionLiteral::language_mode() const { in language_mode()
268 FunctionKind FunctionLiteral::kind() const { return scope()->function_kind(); } in kind()
[all …]
Dast.h90 V(FunctionLiteral) \
446 FunctionLiteral* fun() const { return fun_; } in fun()
451 FunctionDeclaration(VariableProxy* proxy, FunctionLiteral* fun, int pos) in FunctionDeclaration()
456 FunctionLiteral* fun_;
2210 class FunctionLiteral final : public Expression {
2252 return function_literal_id() == FunctionLiteral::kIdTypeTopLevel; in is_top_level()
2360 FunctionLiteral(
2479 FunctionLiteral* constructor() const { return constructor_; } in constructor()
2497 FunctionLiteral* static_fields_initializer() const { in static_fields_initializer()
2501 FunctionLiteral* instance_fields_initializer_function() const { in instance_fields_initializer_function()
[all …]
Dprettyprinter.h24 Handle<String> Print(FunctionLiteral* program, int position);
77 const char* PrintProgram(FunctionLiteral* program);
Dast-function-literal-id-reindexer.h25 void VisitFunctionLiteral(FunctionLiteral* lit);
Dast-function-literal-id-reindexer.cc23 void AstFunctionLiteralIdReindexer::VisitFunctionLiteral(FunctionLiteral* lit) { in VisitFunctionLiteral()
/external/v8/src/asmjs/
Dasm-js.h16 class FunctionLiteral; variable
26 ParseInfo* parse_info, FunctionLiteral* literal,
/external/v8/src/compiler-dispatcher/
Dunoptimized-compile-job.h22 class FunctionLiteral; variable
/external/v8/src/objects/
Dshared-function-info.h524 FunctionLiteral* lit, bool is_toplevel);
527 void SetExpectedNofPropertiesFromEstimate(FunctionLiteral* literal);

12