diff options
Diffstat (limited to 'js/src/wasm/WasmGcObject.h')
-rw-r--r-- | js/src/wasm/WasmGcObject.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/js/src/wasm/WasmGcObject.h b/js/src/wasm/WasmGcObject.h index 45569c3061..d88061c238 100644 --- a/js/src/wasm/WasmGcObject.h +++ b/js/src/wasm/WasmGcObject.h @@ -408,6 +408,9 @@ class WasmStructObject : public WasmGcObject, inline uint8_t* fieldOffsetToAddress(StorageType fieldType, uint32_t fieldOffset); + // Gets JS Value of the structure field. + bool getField(JSContext* cx, uint32_t index, MutableHandle<Value> val); + // JIT accessors static const uint32_t inlineDataAlignment = 8; static constexpr size_t offsetOfOutlineData() { |