7576 : serializer_(serializer),
7577 old_object_(serializer->object_currently_writing_.object_),
7578 old_id_(serializer->object_currently_writing_.id_),
7579 old_cid_(serializer->object_currently_writing_.cid_) {
7580 if (serializer_->profile_writer_ == nullptr) return;
7581
7582
7584 serializer_->FlushProfile();
7585 serializer_->object_currently_writing_.object_ = object;
7586 serializer_->object_currently_writing_.id_ =
id;
7587 serializer_->object_currently_writing_.cid_ =
7588 object == nullptr ? -1 : object->GetClassIdMayBeSmi();
7589}
bool HasId(const ObjectId &object_id)