Lines Matching refs:WeakCell
21 TQ_OBJECT_CONSTRUCTORS_IMPL(WeakCell)
30 Handle<WeakCell> weak_cell, Isolate* isolate) {
47 WeakCell existing_weak_cell = WeakCell::cast(value);
59 // key. Each WeakCell will be in the "active_cells" or "cleared_cells" list of
102 WeakCell weak_cell = WeakCell::cast(value);
125 weak_cell.RawField(WeakCell::kKeyListPrevOffset),
132 WeakCell prev_cell = WeakCell::cast(new_key_list_prev);
135 prev_cell.RawField(WeakCell::kKeyListNextOffset),
157 HeapObject WeakCell::relaxed_target() const {
161 HeapObject WeakCell::relaxed_unregister_token() const {
166 void WeakCell::Nullify(Isolate* isolate,
168 // Remove from the WeakCell from the "active_cells" list of its
180 WeakCell prev_cell = WeakCell::cast(prev());
182 gc_notify_updated_slot(prev_cell, prev_cell.RawField(WeakCell::kNextOffset),
191 WeakCell next_cell = WeakCell::cast(next());
193 gc_notify_updated_slot(next_cell, next_cell.RawField(WeakCell::kPrevOffset),
200 WeakCell cleared_head_cell = WeakCell::cast(cleared_head);
203 cleared_head_cell.RawField(WeakCell::kPrevOffset),
207 gc_notify_updated_slot(*this, RawField(WeakCell::kNextOffset), next());
213 void WeakCell::RemoveFromFinalizationRegistryCells(Isolate* isolate) {
214 // Remove the WeakCell from the list it's in (either "active_cells" or
218 // call Nullify (which assumes that the WeakCell is in active_cells).
232 WeakCell prev_cell = WeakCell::cast(prev());
236 WeakCell next_cell = WeakCell::cast(next());