Home
last modified time | relevance | path

Searched refs:WeakCell (Results 1 – 25 of 27) sorted by relevance

12

/third_party/node/deps/v8/src/objects/
Djs-weak-refs-inl.h22 TQ_OBJECT_CONSTRUCTORS_IMPL(WeakCell)
31 Handle<WeakCell> weak_cell, Isolate* isolate) { in TQ_OBJECT_CONSTRUCTORS_IMPL()
48 WeakCell existing_weak_cell = WeakCell::cast(value); in TQ_OBJECT_CONSTRUCTORS_IMPL()
103 WeakCell weak_cell = WeakCell::cast(value); in RemoveUnregisterToken()
126 weak_cell.RawField(WeakCell::kKeyListPrevOffset), in RemoveUnregisterToken()
133 WeakCell prev_cell = WeakCell::cast(new_key_list_prev); in RemoveUnregisterToken()
136 prev_cell.RawField(WeakCell::kKeyListNextOffset), in RemoveUnregisterToken()
158 HeapObject WeakCell::relaxed_target() const { in relaxed_target()
162 HeapObject WeakCell::relaxed_unregister_token() const { in relaxed_unregister_token()
167 void WeakCell::Nullify(Isolate* isolate, in Nullify()
[all …]
Djs-weak-refs.tq12 active_cells: Undefined|WeakCell;
13 cleared_cells: Undefined|WeakCell;
21 extern class WeakCell extends HeapObject {
29 prev: Undefined|WeakCell;
30 next: Undefined|WeakCell;
34 // of unregister_token. WeakCell also needs to know its token, so that we
36 // WeakCell associated with it or when the unregister_token dies. The
38 key_list_prev: Undefined|WeakCell;
39 key_list_next: Undefined|WeakCell;
Djs-weak-refs.h18 class WeakCell; variable
37 Handle<WeakCell> weak_cell, Isolate* isolate);
76 class WeakCell : public TorqueGeneratedWeakCell<WeakCell, HeapObject> {
78 EXPORT_DECL_VERIFIER(WeakCell)
98 TQ_OBJECT_CONSTRUCTORS(WeakCell)
Dinstance-type.h309 V(_, WeakCellMap, weak_cell_map, WeakCell) \
Dobject-list-macros.h266 V(WeakCell) \
Dobjects-body-descriptors-inl.h237 class WeakCell::BodyDescriptor final : public BodyDescriptorBase {
1252 return CALL_APPLY(WeakCell); in BodyDescriptorApply()
Dmap.h88 V(WeakCell)
Dobjects.cc6952 WeakCell weak_cell = WeakCell::cast(Object(raw_weak_cell)); in EXTERN_DEFINE_HASH_TABLE()
6976 WeakCell next = WeakCell::cast(weak_cell.key_list_next()); in EXTERN_DEFINE_HASH_TABLE()
6983 WeakCell prev = WeakCell::cast(weak_cell.key_list_prev()); in EXTERN_DEFINE_HASH_TABLE()
6986 WeakCell next = WeakCell::cast(weak_cell.key_list_next()); in EXTERN_DEFINE_HASH_TABLE()
/third_party/node/deps/v8/src/builtins/
Dfinalization-registry.tq10 implicit context: Context)(JSFinalizationRegistry, WeakCell): void;
16 JSFinalizationRegistry, WeakCell): void;
18 macro SplitOffTail(weakCell: WeakCell): WeakCell|Undefined {
24 case (tailIsNowAHead: WeakCell): {
33 PopClearedCell(finalizationRegistry: JSFinalizationRegistry): WeakCell|
39 case (weakCell: WeakCell): {
43 // If the WeakCell has an unregister token, remove the cell from the
58 finalizationRegistry: JSFinalizationRegistry, cell: WeakCell): void {
63 case (oldHead: WeakCell): {
79 case (weakCell: WeakCell): {
[all …]
Dbase.tq909 WeakCell | Context | EmptyString | WasmInternalFunction;
912 WeakCell | Context | EmptyString;
1394 return %GetClassMapConstant<WeakCell>();
/third_party/node/deps/v8/src/runtime/
Druntime-weak-refs.cc36 Handle<WeakCell> weak_cell = args.at<WeakCell>(1); in RUNTIME_FUNCTION()
/third_party/node/deps/v8/src/heap/
Dobjects-visiting.h38 V(WeakCell) \
145 int VisitWeakCell(Map map, WeakCell weak_cell);
Dmarking-visitor-inl.h410 Map map, WeakCell weak_cell) { in VisitWeakCell()
413 int size = WeakCell::BodyDescriptor::SizeOf(map, weak_cell); in VisitWeakCell()
415 WeakCell::BodyDescriptor::IterateBody(map, weak_cell, size, this); in VisitWeakCell()
424 ObjectSlot slot = weak_cell.RawField(WeakCell::kTargetOffset); in VisitWeakCell()
426 slot = weak_cell.RawField(WeakCell::kUnregisterTokenOffset); in VisitWeakCell()
Dweak-object-worklists.h59 F(WeakCell, weak_cells, WeakCells) \
Dweak-object-worklists.cc159 void WeakObjects::UpdateWeakCells(WeakObjectWorklist<WeakCell>& weak_cells) { in UpdateWeakCells()
Dobjects-visiting-inl.h231 WeakCell weak_cell) { in VisitWeakCell()
Dmarking-visitor.h179 V8_INLINE int VisitWeakCell(Map map, WeakCell object);
Dfactory.h74 class WeakCell; variable
Dsetup-heap-internal.cc526 ALLOCATE_MAP(WEAK_CELL_TYPE, WeakCell::kSize, weak_cell) in CreateInitialMaps()
Dmark-compact.cc3020 WeakCell weak_cell; in ClearJSWeakRefs()
3046 ObjectSlot slot = weak_cell.RawField(WeakCell::kTargetOffset); in ClearJSWeakRefs()
3065 ObjectSlot slot = weak_cell.RawField(WeakCell::kUnregisterTokenOffset); in ClearJSWeakRefs()
/third_party/node/deps/v8/src/diagnostics/
Dobjects-debug.cc1240 void WeakCell::WeakCellVerify(Isolate* isolate) { in WeakCellVerify()
1247 CHECK_EQ(WeakCell::cast(prev()).next(), *this); in WeakCellVerify()
1252 CHECK_EQ(WeakCell::cast(next()).prev(), *this); in WeakCellVerify()
1277 CHECK(WeakCell::cast(active_cells()).prev().IsUndefined(isolate)); in JSFinalizationRegistryVerify()
1280 CHECK(WeakCell::cast(cleared_cells()).prev().IsUndefined(isolate)); in JSFinalizationRegistryVerify()
Dobjects-printer.cc1430 active_cell = WeakCell::cast(active_cell).next(); in JSFinalizationRegistryPrint()
1436 cleared_cell = WeakCell::cast(cleared_cell).next(); in JSFinalizationRegistryPrint()
/third_party/node/deps/v8/src/profiler/
Dheap-snapshot-generator.h430 void ExtractWeakCellReferences(HeapEntry* entry, WeakCell weak_cell);
Dheap-snapshot-generator.cc1126 ExtractWeakCellReferences(entry, WeakCell::cast(obj)); in ExtractReferences()
1491 WeakCell weak_cell) { in ExtractWeakCellReferences()
1493 WeakCell::kTargetOffset); in ExtractWeakCellReferences()
1495 WeakCell::kUnregisterTokenOffset); in ExtractWeakCellReferences()
/third_party/node/deps/v8/src/codegen/
Dcode-stub-assembler.h4036 TNode<WeakCell> weak_cell);

12