• Home
  • Raw
  • Download

Lines Matching refs:serializer_

413   if (serializer_->code_address_map_) {  in SerializePrologue()
415 serializer_->code_address_map_->Lookup(object_->address()); in SerializePrologue()
416 LOG(serializer_->isolate_, in SerializePrologue()
433 serializer_->RegisterObjectIsPending(*object_); in SerializePrologue()
438 DCHECK_NULL(serializer_->forward_refs_per_pending_object_.Find(map)); in SerializePrologue()
440 serializer_->SerializeObject(handle(map, isolate())); in SerializePrologue()
445 !serializer_->IsNotMappedSymbol(*object_), in SerializePrologue()
446 serializer_->reference_map()->LookupReference(object_) == nullptr); in SerializePrologue()
450 serializer_->ResolvePendingObject(*object_); in SerializePrologue()
454 serializer_->CountAllocation(object_->map(), size, space); in SerializePrologue()
459 serializer_->num_back_refs_++; in SerializePrologue()
461 serializer_->back_refs_.Push(*object_); in SerializePrologue()
462 DCHECK_EQ(serializer_->back_refs_.size(), serializer_->num_back_refs_); in SerializePrologue()
464 if (!serializer_->IsNotMappedSymbol(*object_)) { in SerializePrologue()
469 SerializerReference::BackReference(serializer_->num_back_refs_ - 1); in SerializePrologue()
470 serializer_->reference_map()->Add(*object_, back_reference); in SerializePrologue()
472 *serializer_->back_refs_[back_reference.back_ref_index()]); in SerializePrologue()
473 DCHECK_EQ(back_reference.back_ref_index(), serializer_->reference_map() in SerializePrologue()
483 serializer_->reference_map()->LookupBackingStore(backing_store); in SerializeBackingStore()
500 DCHECK_NE(0, serializer_->seen_backing_stores_index_); in SerializeBackingStore()
503 serializer_->seen_backing_stores_index_++); in SerializeBackingStore()
505 serializer_->reference_map()->AddBackingStore(backing_store, reference); in SerializeBackingStore()
594 if (serializer_->external_reference_encoder_.TryEncode(resource).To( in SerializeExternalString()
700 RecursionScope recursion(serializer_); in Serialize()
708 serializer_->MustBeDeferred(raw)) { in Serialize()
716 serializer_->RegisterObjectIsPending(raw); in Serialize()
717 serializer_->PutPendingForwardReference( in Serialize()
718 *serializer_->forward_refs_per_pending_object_.Find(raw)); in Serialize()
719 serializer_->QueueDeferredObject(raw); in Serialize()
808 Map map = object_->map(serializer_->cage_base()); in SerializeObject()
834 serializer_->reference_map()->LookupReference(object_); in SerializeDeferred()
904 if (serializer_->SerializePendingObject(*obj)) { in VisitPointers()
916 serializer_->root_index_map()->Lookup(*obj, &root_index) && in VisitPointers()
927 serializer_->PutRepeat(repeat_count); in VisitPointers()
933 serializer_->SerializeObject(obj); in VisitPointers()
955 if (!serializer_->SerializePendingObject(*obj)) { in VisitCodePointer()
956 serializer_->SerializeObject(obj); in VisitCodePointer()
968 if (serializer_->allow_unknown_external_references_for_testing()) { in OutputExternalReference()
970 serializer_->TryEncodeExternalReference(target).To(&encoded_reference); in OutputExternalReference()
972 encoded_reference = serializer_->EncodeExternalReference(target); in OutputExternalReference()
981 CHECK(serializer_->allow_unknown_external_references_for_testing()); in OutputExternalReference()
1019 : serializer_(serializer) {} in RelocInfoObjectPreSerializer()
1023 serializer_->SerializeObject(handle(object, isolate())); in VisitEmbeddedPointer()
1031 serializer_->SerializeObject(handle(object, isolate())); in VisitCodeTarget()
1042 Isolate* isolate() { return serializer_->isolate(); } in isolate()
1045 Serializer* serializer_; member in v8::internal::Serializer::ObjectSerializer::RelocInfoObjectPreSerializer
1063 DCHECK_IMPLIES(serializer_->EncodeExternalReference(target).is_from_api(), in VisitExternalReference()
1246 Code off_heap_code = serializer_->CopyCode(*on_heap_code); in SerializeCode()
1294 RelocInfoObjectPreSerializer pre_serializer(serializer_); in SerializeCode()