Home
last modified time | relevance | path

Searched refs:weak_cell (Results 1 – 25 of 29) sorted by relevance

12

/external/v8/src/heap/
Dobjects-visiting-inl.h330 WeakCell* weak_cell = reinterpret_cast<WeakCell*>(object); in VisitWeakCell() local
334 if (weak_cell->next_cleared() && !weak_cell->cleared()) { in VisitWeakCell()
335 HeapObject* value = HeapObject::cast(weak_cell->value()); in VisitWeakCell()
339 Object** slot = HeapObject::RawField(weak_cell, WeakCell::kValueOffset); in VisitWeakCell()
340 map->GetHeap()->mark_compact_collector()->RecordSlot(weak_cell, slot, in VisitWeakCell()
346 weak_cell->set_next(heap->encountered_weak_cells(), in VisitWeakCell()
348 heap->set_encountered_weak_cells(weak_cell); in VisitWeakCell()
Dincremental-marking.cc621 WeakCell* weak_cell = reinterpret_cast<WeakCell*>(weak_cell_obj); in ProcessWeakCells() local
624 HeapObject* value = HeapObject::cast(weak_cell->value()); in ProcessWeakCells()
629 Object** slot = HeapObject::RawField(weak_cell, WeakCell::kValueOffset); in ProcessWeakCells()
630 heap_->mark_compact_collector()->RecordSlot(weak_cell, slot, *slot); in ProcessWeakCells()
633 prev_weak_cell_obj->set_next(weak_cell->next()); in ProcessWeakCells()
635 weak_cell_obj = weak_cell->next(); in ProcessWeakCells()
636 weak_cell->clear_next(the_hole_value); in ProcessWeakCells()
639 weak_cell_head = weak_cell; in ProcessWeakCells()
641 prev_weak_cell_obj = weak_cell; in ProcessWeakCells()
642 weak_cell_obj = weak_cell->next(); in ProcessWeakCells()
Dmark-compact.cc2594 WeakCell* weak_cell = WeakCell::cast(weak_cell_obj); in ClearSimpleMapTransitions() local
2595 Map* map = Map::cast(weak_cell->value()); in ClearSimpleMapTransitions()
2601 parent->raw_transitions() == weak_cell) { in ClearSimpleMapTransitions()
2605 weak_cell->clear(); in ClearSimpleMapTransitions()
2606 weak_cell_obj = weak_cell->next(); in ClearSimpleMapTransitions()
2607 weak_cell->clear_next(the_hole_value); in ClearSimpleMapTransitions()
2821 WeakCell* weak_cell = reinterpret_cast<WeakCell*>(weak_cell_obj); in ClearWeakCells() local
2822 Object* next_weak_cell = weak_cell->next(); in ClearWeakCells()
2827 HeapObject* value = HeapObject::cast(weak_cell->value()); in ClearWeakCells()
2842 slot = HeapObject::RawField(weak_cell, WeakCell::kValueOffset); in ClearWeakCells()
[all …]
Dheap.h798 void set_encountered_weak_cells(Object* weak_cell) { in set_encountered_weak_cells() argument
799 encountered_weak_cells_ = weak_cell; in set_encountered_weak_cells()
/external/v8/src/ic/x64/
Dhandler-compiler-x64.cc205 Handle<WeakCell> weak_cell = isolate->factory()->NewWeakCell(cell); in GenerateCheckPropertyCell() local
206 __ LoadWeakValue(scratch, weak_cell, miss); in GenerateCheckPropertyCell()
390 Handle<WeakCell> weak_cell = in CheckPrototypes() local
392 __ LoadWeakValue(reg, weak_cell, miss); in CheckPrototypes()
411 Handle<WeakCell> weak_cell = in CheckPrototypes() local
413 __ LoadWeakValue(reg, weak_cell, miss); in CheckPrototypes()
585 Handle<WeakCell> weak_cell = factory()->NewWeakCell(cell); in CompileLoadGlobal() local
586 __ LoadWeakValue(result, weak_cell, &miss); in CompileLoadGlobal()
/external/v8/src/ic/ppc/
Dhandler-compiler-ppc.cc189 Handle<WeakCell> weak_cell = isolate->factory()->NewWeakCell(cell); in GenerateCheckPropertyCell() local
190 __ LoadWeakValue(scratch, weak_cell, miss); in GenerateCheckPropertyCell()
396 Handle<WeakCell> weak_cell = in CheckPrototypes() local
398 __ LoadWeakValue(reg, weak_cell, miss); in CheckPrototypes()
417 Handle<WeakCell> weak_cell = in CheckPrototypes() local
419 __ LoadWeakValue(reg, weak_cell, miss); in CheckPrototypes()
580 Handle<WeakCell> weak_cell = factory()->NewWeakCell(cell); in CompileLoadGlobal() local
581 __ LoadWeakValue(result, weak_cell, &miss); in CompileLoadGlobal()
/external/v8/src/ic/mips/
Dhandler-compiler-mips.cc186 Handle<WeakCell> weak_cell = isolate->factory()->NewWeakCell(cell); in GenerateCheckPropertyCell() local
187 __ LoadWeakValue(scratch, weak_cell, miss); in GenerateCheckPropertyCell()
380 Handle<WeakCell> weak_cell = in CheckPrototypes() local
382 __ LoadWeakValue(reg, weak_cell, miss); in CheckPrototypes()
401 Handle<WeakCell> weak_cell = in CheckPrototypes() local
403 __ LoadWeakValue(reg, weak_cell, miss); in CheckPrototypes()
563 Handle<WeakCell> weak_cell = factory()->NewWeakCell(cell); in CompileLoadGlobal() local
564 __ LoadWeakValue(result, weak_cell, &miss); in CompileLoadGlobal()
/external/v8/src/ic/s390/
Dhandler-compiler-s390.cc182 Handle<WeakCell> weak_cell = isolate->factory()->NewWeakCell(cell); in GenerateCheckPropertyCell() local
183 __ LoadWeakValue(scratch, weak_cell, miss); in GenerateCheckPropertyCell()
380 Handle<WeakCell> weak_cell = in CheckPrototypes() local
382 __ LoadWeakValue(reg, weak_cell, miss); in CheckPrototypes()
401 Handle<WeakCell> weak_cell = in CheckPrototypes() local
403 __ LoadWeakValue(reg, weak_cell, miss); in CheckPrototypes()
558 Handle<WeakCell> weak_cell = factory()->NewWeakCell(cell); in CompileLoadGlobal() local
559 __ LoadWeakValue(result, weak_cell, &miss); in CompileLoadGlobal()
/external/v8/src/ic/ia32/
Dhandler-compiler-ia32.cc231 Handle<WeakCell> weak_cell = isolate->factory()->NewWeakCell(cell); in GenerateCheckPropertyCell() local
232 __ LoadWeakValue(scratch, weak_cell, miss); in GenerateCheckPropertyCell()
397 Handle<WeakCell> weak_cell = in CheckPrototypes() local
399 __ LoadWeakValue(reg, weak_cell, miss); in CheckPrototypes()
418 Handle<WeakCell> weak_cell = in CheckPrototypes() local
420 __ LoadWeakValue(reg, weak_cell, miss); in CheckPrototypes()
607 Handle<WeakCell> weak_cell = factory()->NewWeakCell(cell); in CompileLoadGlobal() local
608 __ LoadWeakValue(result, weak_cell, &miss); in CompileLoadGlobal()
/external/v8/src/ic/arm64/
Dhandler-compiler-arm64.cc96 Handle<WeakCell> weak_cell = isolate->factory()->NewWeakCell(cell); in GenerateCheckPropertyCell() local
97 __ LoadWeakValue(scratch, weak_cell, miss); in GenerateCheckPropertyCell()
313 Handle<WeakCell> weak_cell = factory()->NewWeakCell(cell); in CompileLoadGlobal() local
314 __ LoadWeakValue(result, weak_cell, &miss); in CompileLoadGlobal()
423 Handle<WeakCell> weak_cell = in CheckPrototypes() local
425 __ LoadWeakValue(reg, weak_cell, miss); in CheckPrototypes()
444 Handle<WeakCell> weak_cell = in CheckPrototypes() local
446 __ LoadWeakValue(reg, weak_cell, miss); in CheckPrototypes()
/external/v8/src/ic/arm/
Dhandler-compiler-arm.cc194 Handle<WeakCell> weak_cell = isolate->factory()->NewWeakCell(cell); in GenerateCheckPropertyCell() local
195 __ LoadWeakValue(scratch, weak_cell, miss); in GenerateCheckPropertyCell()
397 Handle<WeakCell> weak_cell = in CheckPrototypes() local
399 __ LoadWeakValue(reg, weak_cell, miss); in CheckPrototypes()
418 Handle<WeakCell> weak_cell = in CheckPrototypes() local
420 __ LoadWeakValue(reg, weak_cell, miss); in CheckPrototypes()
582 Handle<WeakCell> weak_cell = factory()->NewWeakCell(cell); in CompileLoadGlobal() local
583 __ LoadWeakValue(result, weak_cell, &miss); in CompileLoadGlobal()
/external/v8/src/ic/mips64/
Dhandler-compiler-mips64.cc186 Handle<WeakCell> weak_cell = isolate->factory()->NewWeakCell(cell); in GenerateCheckPropertyCell() local
187 __ LoadWeakValue(scratch, weak_cell, miss); in GenerateCheckPropertyCell()
380 Handle<WeakCell> weak_cell = in CheckPrototypes() local
382 __ LoadWeakValue(reg, weak_cell, miss); in CheckPrototypes()
401 Handle<WeakCell> weak_cell = in CheckPrototypes() local
403 __ LoadWeakValue(reg, weak_cell, miss); in CheckPrototypes()
563 Handle<WeakCell> weak_cell = factory()->NewWeakCell(cell); in CompileLoadGlobal() local
564 __ LoadWeakValue(result, weak_cell, &miss); in CompileLoadGlobal()
/external/v8/src/ic/x87/
Dhandler-compiler-x87.cc231 Handle<WeakCell> weak_cell = isolate->factory()->NewWeakCell(cell); in GenerateCheckPropertyCell() local
232 __ LoadWeakValue(scratch, weak_cell, miss); in GenerateCheckPropertyCell()
397 Handle<WeakCell> weak_cell = in CheckPrototypes() local
399 __ LoadWeakValue(reg, weak_cell, miss); in CheckPrototypes()
418 Handle<WeakCell> weak_cell = in CheckPrototypes() local
420 __ LoadWeakValue(reg, weak_cell, miss); in CheckPrototypes()
607 Handle<WeakCell> weak_cell = factory()->NewWeakCell(cell); in CompileLoadGlobal() local
608 __ LoadWeakValue(result, weak_cell, &miss); in CompileLoadGlobal()
/external/v8/src/ic/
Dhandler-compiler.cc54 Handle<WeakCell> weak_cell(native_context->self_weak_cell(), isolate()); in FrontendHeader() local
57 GenerateAccessCheck(weak_cell, scratch1(), scratch2(), miss, in FrontendHeader()
75 Handle<WeakCell> weak_cell(native_context->self_weak_cell(), isolate()); in FrontendHeader() local
76 GenerateAccessCheck(weak_cell, scratch1(), scratch2(), miss, false); in FrontendHeader()
Dic.cc912 Handle<WeakCell> weak_cell = isolate->factory()->NewWeakCell(cell); in InitPrototypeChecks() local
913 array->set(LoadHandler::kFirstPrototypeIndex + checks_count, *weak_cell); in InitPrototypeChecks()
935 Handle<WeakCell> weak_cell = isolate->factory()->NewWeakCell(cell); in InitPrototypeChecks() local
936 array->set(first_index + checks_count, *weak_cell); in InitPrototypeChecks()
945 Handle<WeakCell> weak_cell = in InitPrototypeChecks() local
947 array->set(first_index + checks_count, *weak_cell); in InitPrototypeChecks()
Daccessor-assembler.cc1526 Node* weak_cell = LoadFixedArrayElement(vector, slot, 0, slot_mode); in LoadGlobalIC_TryPropertyCellCase() local
1527 CSA_ASSERT(this, HasInstanceType(weak_cell, WEAK_CELL_TYPE)); in LoadGlobalIC_TryPropertyCellCase()
1530 Node* property_cell = LoadWeakCellValue(weak_cell, try_handler); in LoadGlobalIC_TryPropertyCellCase()
/external/v8/src/builtins/
Dbuiltins-object.cc377 Node* weak_cell = in TF_BUILTIN() local
379 GotoIf(WordEqual(weak_cell, UndefinedConstant()), &call_runtime); in TF_BUILTIN()
380 map.Bind(LoadWeakCellValue(weak_cell, &call_runtime)); in TF_BUILTIN()
/external/v8/src/
Dobjects-debug.cc1121 CHECK(weak_cell()->IsWeakCell() || weak_cell()->IsUndefined(GetIsolate())); in PrototypeInfoVerify()
Dcode-stub-assembler.h411 Node* LoadWeakCellValueUnchecked(Node* weak_cell);
412 Node* LoadWeakCellValue(Node* weak_cell, Label* if_cleared = nullptr);
Dcode-stubs.cc1526 Node* weak_cell = assembler.HeapConstant(isolate()->factory()->NewWeakCell( in GenerateAssembly() local
1528 Node* cell = assembler.LoadWeakCellValue(weak_cell); in GenerateAssembly()
Dobjects-printer.cc1262 os << "\n - weak cell: " << Brief(weak_cell()); in PrototypeInfoPrint()
Dcode-stub-assembler.cc1176 Node* CodeStubAssembler::LoadWeakCellValueUnchecked(Node* weak_cell) { in LoadWeakCellValueUnchecked() argument
1178 return LoadObjectField(weak_cell, WeakCell::kValueOffset); in LoadWeakCellValueUnchecked()
1181 Node* CodeStubAssembler::LoadWeakCellValue(Node* weak_cell, Label* if_cleared) { in LoadWeakCellValue() argument
1182 CSA_ASSERT(this, IsWeakCell(weak_cell)); in LoadWeakCellValue()
1183 Node* value = LoadWeakCellValueUnchecked(weak_cell); in LoadWeakCellValue()
Dfactory.cc917 Handle<WeakCell> weak_cell = NewWeakCell(context); in NewNativeContext() local
918 context->set_self_weak_cell(*weak_cell); in NewNativeContext()
/external/v8/src/profiler/
Dheap-snapshot-generator.h389 void ExtractWeakCellReferences(int entry, WeakCell* weak_cell);
Dheap-snapshot-generator.cc1462 void V8HeapExplorer::ExtractWeakCellReferences(int entry, WeakCell* weak_cell) { in ExtractWeakCellReferences() argument
1463 TagObject(weak_cell, "(weak cell)"); in ExtractWeakCellReferences()
1464 SetWeakReference(weak_cell, entry, "value", weak_cell->value(), in ExtractWeakCellReferences()

12