/third_party/node/deps/v8/src/debug/ |
H A D | liveedit.cc | 560 return a.literal->function_literal_id() < in LessThan() 561 b.literal->function_literal_id(); in LessThan() 570 return a.literal->function_literal_id() > in LessThan() 571 b.literal->function_literal_id(); in LessThan() 693 literal->function_literal_id() == kFunctionLiteralIdTopLevel in MapLiterals() 707 literal->function_literal_id() == kFunctionLiteralIdTopLevel in MapLiterals() 867 if (literal->function_literal_id() == 0) { in GetFuncId() 1063 sfi->set_function_literal_id(mapping.second->function_literal_id()); in PatchScript() 1065 mapping.second->function_literal_id(), HeapObjectReference::Weak(*sfi)); in PatchScript() 1066 DCHECK_EQ(sfi->function_literal_id(), in PatchScript() [all...] |
/third_party/node/deps/v8/src/objects/ |
H A D | shared-function-info.cc | 180 int function_literal_id, in SetScript() 199 DCHECK_LT(function_literal_id, list.length()); in SetScript() 200 MaybeObject maybe_object = list.Get(function_literal_id); in SetScript() 206 list.Set(function_literal_id, HeapObjectReference::Weak(*this)); in SetScript() 216 if (function_literal_id < infos.length()) { in SetScript() 218 old_script.shared_function_infos().Get(function_literal_id); in SetScript() 222 function_literal_id, in SetScript() 249 set_function_literal_id(other.function_literal_id()); in CopyFrom() 504 shared_info->set_function_literal_id(lit->function_literal_id()); in InitFromFunctionLiteral() 178 SetScript(ReadOnlyRoots roots, HeapObject script_object, int function_literal_id, bool reset_preparsed_scope_data) SetScript() argument
|
H A D | shared-function-info.h | 219 int function_literal_id,
|
H A D | objects.cc | 5049 int function_literal_id = function_literal->function_literal_id(); in FindSharedFunctionInfo() local 5051 function_literal_id >= script->shared_function_info_count()) { in FindSharedFunctionInfo() 5055 CHECK_NE(function_literal_id, kFunctionLiteralIdInvalid); in FindSharedFunctionInfo() 5060 CHECK_LT(function_literal_id, script->shared_function_info_count()); in FindSharedFunctionInfo() 5061 MaybeObject shared = script->shared_function_infos().Get(function_literal_id); in FindSharedFunctionInfo() 5110 // were deduplicated against existing ones. Decrease function_literal_id to in FindWebSnapshotSharedFunctionInfo() 5113 int function_literal_id = old_length; in FindWebSnapshotSharedFunctionInfo() local 5114 function_literal->set_function_literal_id(function_literal_id); in FindWebSnapshotSharedFunctionInfo() 5120 handle(Smi::FromInt(function_literal_id), isolat in FindWebSnapshotSharedFunctionInfo() [all...] |
/third_party/node/deps/v8/src/parsing/ |
H A D | parser.cc | 886 int function_literal_id = shared_info->function_literal_id(); in ParseFunction() local 891 // in Script::FindSharedFunctionInfo. (-1 here because function_literal_id in ParseFunction() 893 // function_literal_id + 1.) in ParseFunction() 894 function_literal_id = script->shared_function_info_count() - 1; in ParseFunction() 911 function_literal_id, info->function_name()); in ParseFunction() 915 function_literal_id, info->function_name()); in ParseFunction() 921 // Fix the function_literal_id in case we changed it earlier. in ParseFunction() 922 result->set_function_literal_id(shared_info->function_literal_id()); in ParseFunction() 941 int function_literal_id, in DoParseFunction() 939 DoParseFunction(Isolate* isolate, ParseInfo* info, int start_position, int end_position, int function_literal_id, const AstRawString* raw_name) DoParseFunction() argument 1078 DoParseDeserializedFunction( Isolate* isolate, MaybeHandle<ScopeInfo> maybe_outer_scope_info, ParseInfo* info, int start_position, int end_position, int function_literal_id, const AstRawString* raw_name) DoParseDeserializedFunction() argument 2731 int function_literal_id = GetNextFunctionLiteralId(); ParseFunctionLiteral() local 3415 ParseOnBackground(LocalIsolate* isolate, ParseInfo* info, int start_position, int end_position, int function_literal_id) ParseOnBackground() argument [all...] |
H A D | parser.h | 145 int function_literal_id); 237 int function_literal_id, 243 int function_literal_id, const AstRawString* raw_name);
|
H A D | preparser.h | 684 bool has_braces, int function_literal_id, in NewFunctionLiteral() 677 NewFunctionLiteral( const PreParserIdentifier& name, Scope* scope, const PreParserScopedStatementList& body, int expected_property_count, int parameter_count, int function_length, FunctionLiteral::ParameterFlag has_duplicate_parameters, FunctionSyntaxKind function_syntax_kind, FunctionLiteral::EagerCompileHint eager_compile_hint, int position, bool has_braces, int function_literal_id, ProducedPreparseData* produced_preparse_data = nullptr) NewFunctionLiteral() argument
|
H A D | parser-base.h | 4524 int function_literal_id = GetNextFunctionLiteralId(); in ParseArrowFunctionLiteral() local 4646 function_literal_id, produced_preparse_data); in ParseArrowFunctionLiteral()
|
/third_party/node/deps/v8/src/ast/ |
H A D | ast-function-literal-id-reindexer.cc | 32 lit->set_function_literal_id(lit->function_literal_id() + delta_); in VisitFunctionLiteral()
|
H A D | ast.h | 2187 return function_literal_id() == kFunctionLiteralIdTopLevel; in is_toplevel() 2274 int function_literal_id() const { return function_literal_id_; } in function_literal_id() function in v8::internal::final 2275 void set_function_literal_id(int function_literal_id) { in set_function_literal_id() argument 2276 function_literal_id_ = function_literal_id; in set_function_literal_id() 2314 bool has_braces, int function_literal_id, in FunctionLiteral() 2322 function_literal_id_(function_literal_id), in FunctionLiteral() 3229 bool has_braces, int function_literal_id, in NewFunctionLiteral() 3236 function_literal_id, produced_preparse_data); in NewFunctionLiteral() 2307 FunctionLiteral(Zone* zone, const AstConsString* name, AstValueFactory* ast_value_factory, DeclarationScope* scope, const ScopedPtrList<Statement>& body, int expected_property_count, int parameter_count, int function_length, FunctionSyntaxKind function_syntax_kind, ParameterFlag has_duplicate_parameters, EagerCompileHint eager_compile_hint, int position, bool has_braces, int function_literal_id, ProducedPreparseData* produced_preparse_data = nullptr) FunctionLiteral() argument 3222 NewFunctionLiteral( const AstRawString* name, DeclarationScope* scope, const ScopedPtrList<Statement>& body, int expected_property_count, int parameter_count, int function_length, FunctionLiteral::ParameterFlag has_duplicate_parameters, FunctionSyntaxKind function_syntax_kind, FunctionLiteral::EagerCompileHint eager_compile_hint, int position, bool has_braces, int function_literal_id, ProducedPreparseData* produced_preparse_data = nullptr) NewFunctionLiteral() argument
|
H A D | prettyprinter.cc | 828 Print(" %d\n", program->function_literal_id()); in PrintProgram() 1073 Print(" %d\n", node->function_literal_id()); in VisitFunctionLiteral()
|
/third_party/node/deps/v8/src/codegen/ |
H A D | compiler.cc | 803 DCHECK_EQ(literal->function_literal_id(), in IterativelyExecuteAndFinalizeUnoptimizedCompilationJobs() 804 outer_shared_info->function_literal_id()); in IterativelyExecuteAndFinalizeUnoptimizedCompilationJobs() 1558 function_literal_id_(shared_info->function_literal_id()) { in BackgroundCompileTask()
|
/third_party/node/deps/v8/src/heap/ |
H A D | factory-base.cc | 332 shared->SetScript(read_only_roots(), *script, literal->function_literal_id(), in NewSharedFunctionInfoForLiteral()
|