5#ifndef V8_DEBUG_DEBUG_WASM_OBJECTS_H_
6#define V8_DEBUG_DEBUG_WASM_OBJECTS_H_
8#if !V8_ENABLE_WEBASSEMBLY
9#error This header should only be included if WebAssembly is enabled.
29#include "torque-generated/src/debug/debug-wasm-objects-tq.inc"
33class WasmInstanceObject;
34#if V8_ENABLE_DRUMBRAKE
35class WasmInterpreterEntryFrame;
37class WasmModuleObject;
50#define WASM_VALUE_FIELDS(V) \
51 V(kTypeOffset, kTaggedSize) \
52 V(kValueOffset, kTaggedSize) \
55#undef WASM_VALUE_FIELDS
74#if V8_ENABLE_DRUMBRAKE
75std::unique_ptr<debug::ScopeIterator> GetWasmInterpreterScopeIterator(
76 WasmInterpreterEntryFrame* frame);
static constexpr int kTypeIndex
static DirectHandle< WasmValueObject > New(Isolate *isolate, DirectHandle< String > type, DirectHandle< Object > value)
static constexpr int kValueIndex
OBJECT_CONSTRUCTORS(WasmValueObject, JSObject)
#define WASM_VALUE_FIELDS(V)
ZoneVector< RpoNumber > & result
DirectHandle< ArrayList > AddWasmModuleObjectInternalProperties(Isolate *isolate, DirectHandle< ArrayList > result, DirectHandle< WasmModuleObject > module_object)
std::unique_ptr< debug::ScopeIterator > GetWasmScopeIterator(WasmFrame *frame)
kWasmInternalFunctionIndirectPointerTag instance_data
DirectHandle< JSObject > GetWasmDebugProxy(WasmFrame *frame)
DirectHandle< ArrayList > AddWasmInstanceObjectInternalProperties(Isolate *isolate, DirectHandle< ArrayList > result, DirectHandle< WasmInstanceObject > instance)
DirectHandle< ArrayList > AddWasmTableObjectInternalProperties(Isolate *isolate, DirectHandle< ArrayList > result, DirectHandle< WasmTableObject > table)
DirectHandle< String > GetWasmFunctionDebugName(Isolate *isolate, DirectHandle< WasmTrustedInstanceData > instance_data, uint32_t func_index)
#define DECL_ACCESSORS(name,...)
#define DECL_VERIFIER(Name)
#define DECL_PRINTER(Name)
#define DEFINE_FIELD_OFFSET_CONSTANTS(StartOffset, LIST_MACRO)