#ifndef V8_HEAP_CPPGC_OBJECT_VIEW_H_
#define V8_HEAP_CPPGC_OBJECT_VIEW_H_
#include "include/v8config.h"
#include "src/heap/cppgc/globals.h"
#include "src/heap/cppgc/heap-object-header.h"
#include "src/heap/cppgc/heap-page.h"
namespace cppgc {
namespace internal {
template <AccessMode = AccessMode::kNonAtomic>
class ObjectView final { … };
template <AccessMode access_mode>
ObjectView<access_mode>::ObjectView(const HeapObjectHeader& header)
: … { … }
template <AccessMode access_mode>
Address ObjectView<access_mode>::Start() const { … }
template <AccessMode access_mode>
ConstAddress ObjectView<access_mode>::End() const { … }
template <AccessMode access_mode>
size_t ObjectView<access_mode>::Size() const { … }
}
}
#endif