chromium/v8/src/heap/evacuation-verifier.cc

// Copyright 2022 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#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  // VERIFY_HEAP

}  // namespace internal
}  // namespace v8