#ifndef V8_OBJECTS_TRUSTED_OBJECT_INL_H_
#define V8_OBJECTS_TRUSTED_OBJECT_INL_H_
#include "src/objects/instance-type-inl.h"
#include "src/objects/trusted-object.h"
#include "src/sandbox/sandbox.h"
#include "src/objects/object-macros.h"
namespace v8 {
namespace internal {
OBJECT_CONSTRUCTORS_IMPL(TrustedObject, HeapObject)
Tagged<TrustedObject> TrustedObject::ReadProtectedPointerField(
int offset) const { … }
Tagged<TrustedObject> TrustedObject::ReadProtectedPointerField(
int offset, AcquireLoadTag) const { … }
void TrustedObject::WriteProtectedPointerField(int offset,
Tagged<TrustedObject> value) { … }
void TrustedObject::WriteProtectedPointerField(int offset,
Tagged<TrustedObject> value,
ReleaseStoreTag) { … }
bool TrustedObject::IsProtectedPointerFieldEmpty(int offset) const { … }
bool TrustedObject::IsProtectedPointerFieldEmpty(int offset,
AcquireLoadTag) const { … }
void TrustedObject::ClearProtectedPointerField(int offset) { … }
void TrustedObject::ClearProtectedPointerField(int offset, ReleaseStoreTag) { … }
ProtectedPointerSlot TrustedObject::RawProtectedPointerField(
int byte_offset) const { … }
#ifdef VERIFY_HEAP
void TrustedObject::VerifyProtectedPointerField(Isolate* isolate, int offset) { … }
#endif
OBJECT_CONSTRUCTORS_IMPL(ExposedTrustedObject, TrustedObject)
void ExposedTrustedObject::init_self_indirect_pointer(
IsolateForSandbox isolate) { … }
IndirectPointerHandle ExposedTrustedObject::self_indirect_pointer_handle()
const { … }
}
}
#include "src/objects/object-macros-undef.h"
#endif