|
void | Init (ReadOnlyRoots roots, int unique_id) |
|
Tagged< String > | Name () const |
|
void | SetName (Tagged< String > name) |
|
V8_EXPORT_PRIVATE Tagged< Code > | GetCode (Isolate *isolate) const |
|
Tagged< AbstractCode > | abstract_code (Isolate *isolate) |
|
V8_EXPORT_PRIVATE void | SetScript (IsolateForSandbox isolate, ReadOnlyRoots roots, Tagged< HeapObject > script_object, int function_literal_id, bool reset_preparsed_scope_data=true) |
|
void | CopyFrom (Tagged< SharedFunctionInfo > other, IsolateForSandbox isolate) |
|
Tagged< ScopeInfo > | EarlyScopeInfo (AcquireLoadTag tag) |
|
void | set_raw_scope_info (Tagged< ScopeInfo > scope_info, WriteBarrierMode mode=UPDATE_WRITE_BARRIER) |
|
void | SetScopeInfo (Tagged< ScopeInfo > scope_info, WriteBarrierMode mode=UPDATE_WRITE_BARRIER) |
|
bool | is_script () const |
|
bool | needs_script_context () const |
|
V8_EXPORT_PRIVATE int | EndPosition () const |
|
V8_EXPORT_PRIVATE int | StartPosition () const |
|
V8_EXPORT_PRIVATE void | UpdateFromFunctionLiteralForLiveEdit (IsolateForSandbox isolate, FunctionLiteral *lit) |
|
bool | HasOuterScopeInfo () const |
|
Tagged< ScopeInfo > | GetOuterScopeInfo () const |
|
bool | HasFeedbackMetadata () const |
|
bool | HasFeedbackMetadata (AcquireLoadTag tag) const |
|
bool | is_compiled () const |
|
template<typename IsolateT > |
IsCompiledScope | is_compiled_scope (IsolateT *isolate) const |
|
void | set_internal_formal_parameter_count (int value) |
|
uint16_t | internal_formal_parameter_count_with_receiver () const |
|
uint16_t | internal_formal_parameter_count_without_receiver () const |
|
void | DontAdaptArguments () |
|
bool | IsDontAdaptArguments () const |
|
Tagged< Object > | GetTrustedData (IsolateForSandbox isolate) const |
|
Tagged< Object > | GetUntrustedData () const |
|
template<typename T , IndirectPointerTag tag> |
Tagged< T > | GetTrustedData (IsolateForSandbox isolate) const |
|
Tagged< Object > | GetTrustedData () const |
|
bool | IsApiFunction () const |
|
bool | is_class_constructor () const |
|
template<typename IsolateT > |
Tagged< BytecodeArray > | GetBytecodeArray (IsolateT *isolate) const |
|
void | set_bytecode_array (Tagged< BytecodeArray > bytecode) |
|
void | overwrite_bytecode_array (Tagged< BytecodeArray > bytecode) |
|
Tagged< Code > | InterpreterTrampoline (IsolateForSandbox isolate) const |
|
bool | HasInterpreterData (IsolateForSandbox isolate) const |
|
Tagged< InterpreterData > | interpreter_data (IsolateForSandbox isolate) const |
|
void | set_interpreter_data (Isolate *isolate, Tagged< InterpreterData > interpreter_data, WriteBarrierMode mode=UPDATE_WRITE_BARRIER) |
|
void | FlushBaselineCode () |
|
Tagged< BytecodeArray > | GetActiveBytecodeArray (IsolateForSandbox isolate) const |
|
void | SetActiveBytecodeArray (Tagged< BytecodeArray > bytecode, IsolateForSandbox isolate) |
|
bool | HasBuiltinId () const |
|
bool | HasUncompiledData () const |
|
Tagged< UncompiledData > | uncompiled_data (IsolateForSandbox isolate) const |
|
void | set_uncompiled_data (Tagged< UncompiledData > data, WriteBarrierMode mode=UPDATE_WRITE_BARRIER) |
|
bool | HasUncompiledDataWithPreparseData () const |
|
Tagged< UncompiledDataWithPreparseData > | uncompiled_data_with_preparse_data (IsolateForSandbox isolate) const |
|
void | set_uncompiled_data_with_preparse_data (Tagged< UncompiledDataWithPreparseData > data, WriteBarrierMode mode=UPDATE_WRITE_BARRIER) |
|
bool | HasUncompiledDataWithoutPreparseData () const |
|
void | ClearUncompiledDataJobPointer (IsolateForSandbox isolate) |
|
void | ClearPreparseData (IsolateForSandbox isolate) |
|
bool | HasInferredName () |
|
bool | HasDebugInfo (Isolate *isolate) const |
|
V8_EXPORT_PRIVATE Tagged< DebugInfo > | GetDebugInfo (Isolate *isolate) const |
|
V8_EXPORT_PRIVATE std::optional< Tagged< DebugInfo > > | TryGetDebugInfo (Isolate *isolate) const |
|
V8_EXPORT_PRIVATE bool | HasBreakInfo (Isolate *isolate) const |
|
bool | BreakAtEntry (Isolate *isolate) const |
|
bool | HasCoverageInfo (Isolate *isolate) const |
|
Tagged< CoverageInfo > | GetCoverageInfo (Isolate *isolate) const |
|
std::unique_ptr< char[]> | DebugNameCStr () const |
|
bool | PassesFilter (const char *raw_filter) |
|
Tagged< HeapObject > | script () const |
|
Tagged< HeapObject > | script (PtrComprCageBase cage_base) const |
|
bool | has_script (AcquireLoadTag tag) const |
|
bool | is_repl_mode () const |
|
int | function_token_position () const |
|
bool | HasSharedName () const |
|
CachedTieringDecision | cached_tiering_decision () |
|
void | set_cached_tiering_decision (CachedTieringDecision decision) |
|
LanguageMode | language_mode () const |
|
void | set_language_mode (LanguageMode language_mode) |
|
bool | is_wrapped () const |
|
FunctionKind | kind () const |
|
int | UniqueIdInScript () const |
|
void | clear_padding () |
|
void | UpdateFunctionMapIndex () |
|
bool | optimization_disabled () const |
|
BailoutReason | disabled_optimization_reason () const |
|
void | DisableOptimization (Isolate *isolate, BailoutReason reason) |
|
bool | HasSourceCode () const |
|
bool | IsSubjectToDebugging () const |
|
bool | IsUserJavaScript () const |
|
bool | CanDiscardCompiled () const |
|
void | DiscardCompiledMetadata (Isolate *isolate, std::function< void(Tagged< HeapObject > object, ObjectSlot slot, Tagged< HeapObject > target)> gc_notify_updated_slot=[](Tagged< HeapObject > object, ObjectSlot slot, Tagged< HeapObject > target) {}) |
|
bool | ShouldFlushCode (base::EnumSet< CodeFlushMode > code_flush_mode) |
|
template<typename IsolateT > |
Inlineability | GetInlineability (IsolateT *isolate) const |
|
int | SourceSize () |
|
bool | has_simple_parameters () |
|
void | UpdateExpectedNofPropertiesFromEstimate (FunctionLiteral *literal) |
|
void | UpdateAndFinalizeExpectedNofPropertiesFromEstimate (FunctionLiteral *literal) |
|
void | SetFunctionTokenPosition (int function_token_position, int start_position) |
|
bool | CanCollectSourcePosition (Isolate *isolate) |
|
template<typename IsolateT > |
bool | AreSourcePositionsAvailable (IsolateT *isolate) const |
|
V8_EXPORT_PRIVATE uint32_t | Hash () |
|
bool | construct_as_builtin () const |
|
void | CalculateConstructAsBuiltin () |
|
uint16_t | CompareExchangeAge (uint16_t expected_age, uint16_t new_age) |
|
|
static Handle< String > | DebugName (Isolate *isolate, DirectHandle< SharedFunctionInfo > shared) |
|
static DirectHandle< Object > | GetSourceCode (Isolate *isolate, DirectHandle< SharedFunctionInfo > shared) |
|
static Handle< Object > | GetSourceCodeHarmony (Isolate *isolate, DirectHandle< SharedFunctionInfo > shared) |
|
static V8_EXPORT_PRIVATE void | DiscardCompiled (Isolate *isolate, DirectHandle< SharedFunctionInfo > shared_info) |
|
template<typename IsolateT > |
static void | InitFromFunctionLiteral (IsolateT *isolate, FunctionLiteral *lit, bool is_toplevel) |
|
template<typename IsolateT > |
static void | CreateAndSetUncompiledData (IsolateT *isolate, FunctionLiteral *lit) |
|
static void | EnsureBytecodeArrayAvailable (Isolate *isolate, Handle< SharedFunctionInfo > shared_info, IsCompiledScope *is_compiled_scope, CreateSourcePositions flag=CreateSourcePositions::kNo) |
|
static void | EnsureSourcePositionsAvailable (Isolate *isolate, DirectHandle< SharedFunctionInfo > shared_info) |
|
static V8_EXPORT_PRIVATE void | EnsureOldForTesting (Tagged< SharedFunctionInfo > sfu) |
|
static void | InstallDebugBytecode (DirectHandle< SharedFunctionInfo > shared, Isolate *isolate) |
|
static void | UninstallDebugBytecode (Tagged< SharedFunctionInfo > shared, Isolate *isolate) |
|
Definition at line 197 of file shared-function-info.h.