Lines Matching full:heap_object
1319 int PartialSerializer::PartialSnapshotCacheIndex(HeapObject* heap_object) {
1326 if (entry == heap_object) return i;
1333 isolate->PushToPartialSnapshotCache(heap_object);
1334 startup_serializer_->VisitPointer(reinterpret_cast<Object**>(&heap_object));
1342 int Serializer::RootIndex(HeapObject* heap_object, HowToCode from) {
1344 if (heap->InNewSpace(heap_object)) return kInvalidRootIndex;
1347 if (!root->IsSmi() && root == heap_object) {
1393 HeapObject* heap_object = HeapObject::cast(o);
1396 if ((root_index = RootIndex(heap_object, how_to_code)) != kInvalidRootIndex) {
1397 PutRoot(root_index, heap_object, how_to_code, where_to_point, skip);
1401 if (address_mapper_.IsMapped(heap_object)) {
1402 int space = SpaceOfObject(heap_object);
1403 int address = address_mapper_.MappedTo(heap_object);
1417 heap_object,
1473 HeapObject* heap_object = HeapObject::cast(o);
1475 if (heap_object->IsMap()) {
1478 ASSERT(Map::cast(heap_object)->code_cache() ==
1479 heap_object->GetHeap()->empty_fixed_array());
1483 if ((root_index = RootIndex(heap_object, how_to_code)) != kInvalidRootIndex) {
1484 PutRoot(root_index, heap_object, how_to_code, where_to_point, skip);
1488 if (ShouldBeInThePartialSnapshotCache(heap_object)) {
1494 int cache_index = PartialSnapshotCacheIndex(heap_object);
1504 ASSERT(!startup_serializer_->address_mapper()->IsMapped(heap_object));
1507 ASSERT(!heap_object->IsInternalizedString());
1509 if (address_mapper_.IsMapped(heap_object)) {
1510 int space = SpaceOfObject(heap_object);
1511 int address = address_mapper_.MappedTo(heap_object);
1524 heap_object,