// 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. #ifndef V8_HEAP_HEAP_VERIFIER_H_ #define V8_HEAP_HEAP_VERIFIER_H_ #include "src/common/globals.h" #include "src/flags/flags.h" #include "src/heap/memory-chunk-metadata.h" #include "src/heap/read-only-heap.h" #include "src/objects/map.h" namespace v8 { namespace internal { class Heap; class ReadOnlyHeap; // Interface for verifying spaces in the heap. class SpaceVerificationVisitor { … }; class HeapVerifier final { … }; } // namespace internal } // namespace v8 #endif // V8_HEAP_HEAP_VERIFIER_H_