Home | History | Annotate | Download | only in src

Lines Matching full:heap_object

1376 int PartialSerializer::PartialSnapshotCacheIndex(HeapObject* heap_object) {
1383 if (entry == heap_object) return i;
1390 isolate->PushToPartialSnapshotCache(heap_object);
1391 startup_serializer_->VisitPointer(reinterpret_cast<Object**>(&heap_object));
1399 int Serializer::RootIndex(HeapObject* heap_object, HowToCode from) {
1401 if (heap->InNewSpace(heap_object)) return kInvalidRootIndex;
1404 if (!root->IsSmi() && root == heap_object) {
1451 HeapObject* heap_object = HeapObject::cast(o);
1454 if ((root_index = RootIndex(heap_object, how_to_code)) != kInvalidRootIndex) {
1455 PutRoot(root_index, heap_object, how_to_code, where_to_point, skip);
1459 if (address_mapper_.IsMapped(heap_object)) {
1460 int space = SpaceOfObject(heap_object);
1461 int address = address_mapper_.MappedTo(heap_object);
1475 heap_object,
1531 HeapObject* heap_object = HeapObject::cast(o);
1533 if (heap_object->IsMap()) {
1536 ASSERT(Map::cast(heap_object)->code_cache() ==
1537 heap_object->GetHeap()->empty_fixed_array());
1541 if ((root_index = RootIndex(heap_object, how_to_code)) != kInvalidRootIndex) {
1542 PutRoot(root_index, heap_object, how_to_code, where_to_point, skip);
1546 if (ShouldBeInThePartialSnapshotCache(heap_object)) {
1552 int cache_index = PartialSnapshotCacheIndex(heap_object);
1562 ASSERT(!startup_serializer_->address_mapper()->IsMapped(heap_object));
1565 ASSERT(!heap_object->IsInternalizedString());
1567 if (address_mapper_.IsMapped(heap_object)) {
1568 int space = SpaceOfObject(heap_object);
1569 int address = address_mapper_.MappedTo(heap_object);
1582 heap_object,