#include <dependent-code.h>
|
| enum | DependencyGroup {
kTransitionGroup = 1 << 0
, kPrototypeCheckGroup = 1 << 1
, kPropertyCellChangedGroup = 1 << 2
, kFieldTypeGroup = 1 << 3
,
kFieldConstGroup = 1 << 4
, kFieldRepresentationGroup = 1 << 5
, kInitialMapChangedGroup = 1 << 6
, kAllocationSiteTenuringChangedGroup = 1 << 7
,
kAllocationSiteTransitionChangedGroup = 1 << 8
, kScriptContextSlotPropertyChangedGroup = 1 << 9
, kEmptyContextExtensionGroup = 1 << 10
} |
| |
| using | DependencyGroups = base::Flags<DependencyGroup, uint32_t> |
| |
|
| static const char * | DependencyGroupName (DependencyGroup group) |
| |
| static LazyDeoptimizeReason | DependencyGroupToLazyDeoptReason (DependencyGroup group) |
| |
| static V8_EXPORT_PRIVATE void | InstallDependency (Isolate *isolate, Handle< Code > code, Handle< HeapObject > object, DependencyGroups groups) |
| |
| template<typename ObjectT > |
| static void | DeoptimizeDependencyGroups (Isolate *isolate, ObjectT object, DependencyGroups groups) |
| |
| template<typename ObjectT > |
| static void | DeoptimizeDependencyGroups (Isolate *isolate, Tagged< ObjectT > object, DependencyGroups groups) |
| |
| template<typename ObjectT > |
| static bool | MarkCodeForDeoptimization (Isolate *isolate, Tagged< ObjectT > object, DependencyGroups groups) |
| |
| static V8_EXPORT_PRIVATE Tagged< DependentCode > | empty_dependent_code (const ReadOnlyRoots &roots) |
| |
| NEVER_READ_ONLY_SPACE static V8_EXPORT_PRIVATE Handle< WeakArrayList > | AddToEnd (Isolate *isolate, Handle< WeakArrayList > array, MaybeObjectDirectHandle value) |
| |
| static V8_EXPORT_PRIVATE Handle< WeakArrayList > | AddToEnd (Isolate *isolate, Handle< WeakArrayList > array, MaybeObjectDirectHandle value1, Tagged< Smi > value2) |
| |
| static V8_WARN_UNUSED_RESULT DirectHandle< WeakArrayList > | Append (Isolate *isolate, DirectHandle< WeakArrayList > array, MaybeObjectDirectHandle value, AllocationType allocation=AllocationType::kYoung) |
| |
| static constexpr int | SizeForCapacity (int capacity) |
| |
| static constexpr int | CapacityForLength (int length) |
| |
| static Handle< WeakArrayList > | EnsureSpace (Isolate *isolate, Handle< WeakArrayList > array, int length, AllocationType allocation=AllocationType::kYoung) |
| |
Definition at line 30 of file dependent-code.h.
◆ DependencyGroups
◆ DependencyGroup
| Enumerator |
|---|
| kTransitionGroup | |
| kPrototypeCheckGroup | |
| kPropertyCellChangedGroup | |
| kFieldTypeGroup | |
| kFieldConstGroup | |
| kFieldRepresentationGroup | |
| kInitialMapChangedGroup | |
| kAllocationSiteTenuringChangedGroup | |
| kAllocationSiteTransitionChangedGroup | |
| kScriptContextSlotPropertyChangedGroup | |
| kEmptyContextExtensionGroup | |
Definition at line 32 of file dependent-code.h.
◆ DeoptimizeDependencyGroups() [1/3]
◆ DeoptimizeDependencyGroups() [2/3]
template<typename ObjectT >
| void v8::internal::DependentCode::DeoptimizeDependencyGroups |
( |
Isolate * | isolate, |
|
|
ObjectT | object, |
|
|
DependencyGroups | groups ) |
|
static |
◆ DeoptimizeDependencyGroups() [3/3]
template<typename ObjectT >
◆ DependencyGroupName()
| const char * v8::internal::DependentCode::DependencyGroupName |
( |
DependencyGroup | group | ) |
|
|
static |
◆ DependencyGroupToLazyDeoptReason()
◆ empty_dependent_code()
◆ FillEntryFromBack()
| int v8::internal::DependentCode::FillEntryFromBack |
( |
int | index, |
|
|
int | length ) |
|
private |
◆ GetDependentCode()
◆ InsertWeakCode()
◆ InstallDependency()
◆ IterateAndCompact()
◆ LengthFor()
| static constexpr int v8::internal::DependentCode::LengthFor |
( |
int | number_of_entries | ) |
|
|
inlinestaticconstexprprivate |
◆ MarkCodeForDeoptimization() [1/2]
◆ MarkCodeForDeoptimization() [2/2]
template<typename ObjectT >
◆ OBJECT_CONSTRUCTORS()
◆ SetDependentCode()
◆ kCodeSlotOffset
| int v8::internal::DependentCode::kCodeSlotOffset = 0 |
|
staticconstexpr |
◆ kEmptyDependentCode
| RootIndex v8::internal::DependentCode::kEmptyDependentCode |
|
staticconstexpr |
Initial value:=
RootIndex::kEmptyWeakArrayList
Definition at line 100 of file dependent-code.h.
◆ kGroupsSlotOffset
| int v8::internal::DependentCode::kGroupsSlotOffset = 1 |
|
staticconstexpr |
◆ kSlotsPerEntry
| int v8::internal::DependentCode::kSlotsPerEntry |
|
staticconstexpr |
The documentation for this class was generated from the following files: