#include "src/codegen/assembler-inl.h"
#include "src/codegen/reloc-info.h"
#include "src/heap/evacuation-verifier-inl.h"
#include "src/objects/map-inl.h"
namespace v8 {
namespace internal {
#ifdef VERIFY_HEAP
EvacuationVerifier::EvacuationVerifier(Heap* heap)
: … { … }
void EvacuationVerifier::Run() { … }
void EvacuationVerifier::VisitPointers(Tagged<HeapObject> host,
ObjectSlot start, ObjectSlot end) { … }
void EvacuationVerifier::VisitPointers(Tagged<HeapObject> host,
MaybeObjectSlot start,
MaybeObjectSlot end) { … }
void EvacuationVerifier::VisitInstructionStreamPointer(
Tagged<Code> host, InstructionStreamSlot slot) { … }
void EvacuationVerifier::VisitRootPointers(Root root, const char* description,
FullObjectSlot start,
FullObjectSlot end) { … }
void EvacuationVerifier::VisitMapPointer(Tagged<HeapObject> object) { … }
void EvacuationVerifier::VisitCodeTarget(Tagged<InstructionStream> host,
RelocInfo* rinfo) { … }
void EvacuationVerifier::VisitEmbeddedPointer(Tagged<InstructionStream> host,
RelocInfo* rinfo) { … }
void EvacuationVerifier::VerifyRoots() { … }
void EvacuationVerifier::VerifyEvacuationOnPage(Address start, Address end) { … }
void EvacuationVerifier::VerifyEvacuation(NewSpace* space) { … }
void EvacuationVerifier::VerifyEvacuation(PagedSpaceBase* space) { … }
#endif
}
}