#include "src/wasm/wasm-objects-inl.h"
#include "torque-generated/class-verifiers.h"
#include "src/objects/instance-type-inl.h"
namespace v8 {
namespace internal {
bool IsWasmFuncRef_NonInline(Tagged<HeapObject> o) { … }
#ifdef VERIFY_HEAP
template <>
void TorqueGeneratedWasmFuncRef<WasmFuncRef, HeapObject>::WasmFuncRefVerify(Isolate* isolate) {
TorqueGeneratedClassVerifiers::WasmFuncRefVerify(Cast<WasmFuncRef>(*this), isolate);
}
#endif
bool IsWasmNull_NonInline(Tagged<HeapObject> o) { … }
#ifdef VERIFY_HEAP
template <>
void TorqueGeneratedWasmNull<WasmNull, HeapObject>::WasmNullVerify(Isolate* isolate) {
TorqueGeneratedClassVerifiers::WasmNullVerify(Cast<WasmNull>(*this), isolate);
}
#endif
bool IsWasmImportData_NonInline(Tagged<HeapObject> o) { … }
#ifdef VERIFY_HEAP
template <>
void TorqueGeneratedWasmImportData<WasmImportData, TrustedObject>::WasmImportDataVerify(Isolate* isolate) {
TorqueGeneratedClassVerifiers::WasmImportDataVerify(Cast<WasmImportData>(*this), isolate);
}
#endif
bool IsWasmInstanceObject_NonInline(Tagged<HeapObject> o) { … }
#ifdef VERIFY_HEAP
template <>
void TorqueGeneratedWasmInstanceObject<WasmInstanceObject, JSObject>::WasmInstanceObjectVerify(Isolate* isolate) {
TorqueGeneratedClassVerifiers::WasmInstanceObjectVerify(Cast<WasmInstanceObject>(*this), isolate);
}
#endif
bool IsWasmInternalFunction_NonInline(Tagged<HeapObject> o) { … }
#ifdef VERIFY_HEAP
template <>
void TorqueGeneratedWasmInternalFunction<WasmInternalFunction, ExposedTrustedObject>::WasmInternalFunctionVerify(Isolate* isolate) {
TorqueGeneratedClassVerifiers::WasmInternalFunctionVerify(Cast<WasmInternalFunction>(*this), isolate);
}
#endif
bool IsWasmFunctionData_NonInline(Tagged<HeapObject> o) { … }
#ifdef VERIFY_HEAP
template <>
void TorqueGeneratedWasmFunctionData<WasmFunctionData, ExposedTrustedObject>::WasmFunctionDataVerify(Isolate* isolate) {
TorqueGeneratedClassVerifiers::WasmFunctionDataVerify(Cast<WasmFunctionData>(*this), isolate);
}
#endif
bool IsWasmExportedFunctionData_NonInline(Tagged<HeapObject> o) { … }
#ifdef VERIFY_HEAP
template <>
void TorqueGeneratedWasmExportedFunctionData<WasmExportedFunctionData, WasmFunctionData>::WasmExportedFunctionDataVerify(Isolate* isolate) {
TorqueGeneratedClassVerifiers::WasmExportedFunctionDataVerify(Cast<WasmExportedFunctionData>(*this), isolate);
}
#endif
bool IsWasmJSFunctionData_NonInline(Tagged<HeapObject> o) { … }
#ifdef VERIFY_HEAP
template <>
void TorqueGeneratedWasmJSFunctionData<WasmJSFunctionData, WasmFunctionData>::WasmJSFunctionDataVerify(Isolate* isolate) {
TorqueGeneratedClassVerifiers::WasmJSFunctionDataVerify(Cast<WasmJSFunctionData>(*this), isolate);
}
#endif
bool IsWasmCapiFunctionData_NonInline(Tagged<HeapObject> o) { … }
#ifdef VERIFY_HEAP
template <>
void TorqueGeneratedWasmCapiFunctionData<WasmCapiFunctionData, WasmFunctionData>::WasmCapiFunctionDataVerify(Isolate* isolate) {
TorqueGeneratedClassVerifiers::WasmCapiFunctionDataVerify(Cast<WasmCapiFunctionData>(*this), isolate);
}
#endif
bool IsWasmResumeData_NonInline(Tagged<HeapObject> o) { … }
#ifdef VERIFY_HEAP
template <>
void TorqueGeneratedWasmResumeData<WasmResumeData, HeapObject>::WasmResumeDataVerify(Isolate* isolate) {
TorqueGeneratedClassVerifiers::WasmResumeDataVerify(Cast<WasmResumeData>(*this), isolate);
}
#endif
bool IsWasmContinuationObject_NonInline(Tagged<HeapObject> o) { … }
#ifdef VERIFY_HEAP
template <>
void TorqueGeneratedWasmContinuationObject<WasmContinuationObject, HeapObject>::WasmContinuationObjectVerify(Isolate* isolate) {
TorqueGeneratedClassVerifiers::WasmContinuationObjectVerify(Cast<WasmContinuationObject>(*this), isolate);
}
#endif
bool IsWasmSuspenderObject_NonInline(Tagged<HeapObject> o) { … }
#ifdef VERIFY_HEAP
template <>
void TorqueGeneratedWasmSuspenderObject<WasmSuspenderObject, HeapObject>::WasmSuspenderObjectVerify(Isolate* isolate) {
TorqueGeneratedClassVerifiers::WasmSuspenderObjectVerify(Cast<WasmSuspenderObject>(*this), isolate);
}
#endif
bool IsWasmExceptionTag_NonInline(Tagged<HeapObject> o) { … }
#ifdef VERIFY_HEAP
template <>
void TorqueGeneratedWasmExceptionTag<WasmExceptionTag, Struct>::WasmExceptionTagVerify(Isolate* isolate) {
TorqueGeneratedClassVerifiers::WasmExceptionTagVerify(Cast<WasmExceptionTag>(*this), isolate);
}
#endif
bool IsWasmModuleObject_NonInline(Tagged<HeapObject> o) { … }
#ifdef VERIFY_HEAP
template <>
void TorqueGeneratedWasmModuleObject<WasmModuleObject, JSObject>::WasmModuleObjectVerify(Isolate* isolate) {
TorqueGeneratedClassVerifiers::WasmModuleObjectVerify(Cast<WasmModuleObject>(*this), isolate);
}
#endif
bool IsWasmTableObject_NonInline(Tagged<HeapObject> o) { … }
#ifdef VERIFY_HEAP
template <>
void TorqueGeneratedWasmTableObject<WasmTableObject, JSObject>::WasmTableObjectVerify(Isolate* isolate) {
TorqueGeneratedClassVerifiers::WasmTableObjectVerify(Cast<WasmTableObject>(*this), isolate);
}
#endif
bool IsWasmMemoryObject_NonInline(Tagged<HeapObject> o) { … }
#ifdef VERIFY_HEAP
template <>
void TorqueGeneratedWasmMemoryObject<WasmMemoryObject, JSObject>::WasmMemoryObjectVerify(Isolate* isolate) {
TorqueGeneratedClassVerifiers::WasmMemoryObjectVerify(Cast<WasmMemoryObject>(*this), isolate);
}
#endif
bool IsWasmGlobalObject_NonInline(Tagged<HeapObject> o) { … }
#ifdef VERIFY_HEAP
template <>
void TorqueGeneratedWasmGlobalObject<WasmGlobalObject, JSObject>::WasmGlobalObjectVerify(Isolate* isolate) {
TorqueGeneratedClassVerifiers::WasmGlobalObjectVerify(Cast<WasmGlobalObject>(*this), isolate);
}
#endif
bool IsWasmTagObject_NonInline(Tagged<HeapObject> o) { … }
#ifdef VERIFY_HEAP
template <>
void TorqueGeneratedWasmTagObject<WasmTagObject, JSObject>::WasmTagObjectVerify(Isolate* isolate) {
TorqueGeneratedClassVerifiers::WasmTagObjectVerify(Cast<WasmTagObject>(*this), isolate);
}
#endif
bool IsAsmWasmData_NonInline(Tagged<HeapObject> o) { … }
#ifdef VERIFY_HEAP
template <>
void TorqueGeneratedAsmWasmData<AsmWasmData, Struct>::AsmWasmDataVerify(Isolate* isolate) {
TorqueGeneratedClassVerifiers::AsmWasmDataVerify(Cast<AsmWasmData>(*this), isolate);
}
#endif
bool IsWasmTypeInfo_NonInline(Tagged<HeapObject> o) { … }
#ifdef VERIFY_HEAP
template <>
void TorqueGeneratedWasmTypeInfo<WasmTypeInfo, HeapObject>::WasmTypeInfoVerify(Isolate* isolate) {
TorqueGeneratedClassVerifiers::WasmTypeInfoVerify(Cast<WasmTypeInfo>(*this), isolate);
}
#endif
bool IsWasmObject_NonInline(Tagged<HeapObject> o) { … }
#ifdef VERIFY_HEAP
template <>
void TorqueGeneratedWasmObject<WasmObject, JSReceiver>::WasmObjectVerify(Isolate* isolate) {
TorqueGeneratedClassVerifiers::WasmObjectVerify(Cast<WasmObject>(*this), isolate);
}
#endif
bool IsWasmStruct_NonInline(Tagged<HeapObject> o) { … }
#ifdef VERIFY_HEAP
template <>
void TorqueGeneratedWasmStruct<WasmStruct, WasmObject>::WasmStructVerify(Isolate* isolate) {
TorqueGeneratedClassVerifiers::WasmStructVerify(Cast<WasmStruct>(*this), isolate);
}
#endif
bool IsWasmArray_NonInline(Tagged<HeapObject> o) { … }
#ifdef VERIFY_HEAP
template <>
void TorqueGeneratedWasmArray<WasmArray, WasmObject>::WasmArrayVerify(Isolate* isolate) {
TorqueGeneratedClassVerifiers::WasmArrayVerify(Cast<WasmArray>(*this), isolate);
}
#endif
bool IsWasmSuspendingObject_NonInline(Tagged<HeapObject> o) { … }
#ifdef VERIFY_HEAP
template <>
void TorqueGeneratedWasmSuspendingObject<WasmSuspendingObject, JSObject>::WasmSuspendingObjectVerify(Isolate* isolate) {
TorqueGeneratedClassVerifiers::WasmSuspendingObjectVerify(Cast<WasmSuspendingObject>(*this), isolate);
}
#endif
}
}