Index: src/wasm/wasm-objects.h |
diff --git a/src/wasm/wasm-objects.h b/src/wasm/wasm-objects.h |
index 94ac54086c9d0e7ad3ca7c9e5a039c028e4c8a01..e24a43cbaf0f51eeaa9cb7796037b0568ef159e4 100644 |
--- a/src/wasm/wasm-objects.h |
+++ b/src/wasm/wasm-objects.h |
@@ -102,7 +102,7 @@ class WasmMemoryObject : public JSObject { |
}; |
DECLARE_CASTS(WasmMemoryObject); |
- DECLARE_ACCESSORS(buffer, JSArrayBuffer); |
+ DECLARE_OPTIONAL_ACCESSORS(buffer, JSArrayBuffer); |
DECLARE_OPTIONAL_ACCESSORS(instances_link, WasmInstanceWrapper); |
void AddInstance(Isolate* isolate, Handle<WasmInstanceObject> object); |