Index: src/wasm/wasm-module.h |
diff --git a/src/wasm/wasm-module.h b/src/wasm/wasm-module.h |
index 11ef65991d3de998cf61056587cc1c073bd801e7..44aa1b219ed84fcbccd1741b31dab06ded977fb6 100644 |
--- a/src/wasm/wasm-module.h |
+++ b/src/wasm/wasm-module.h |
@@ -24,6 +24,7 @@ class WasmCompiledModule; |
class WasmDebugInfo; |
class WasmModuleObject; |
class WasmInstanceObject; |
+class WasmMemoryObject; |
namespace compiler { |
class CallDescriptor; |
@@ -432,7 +433,8 @@ int32_t GrowInstanceMemory(Isolate* isolate, |
Handle<JSArrayBuffer> NewArrayBuffer(Isolate* isolate, size_t size, |
bool enable_guard_regions); |
-int32_t GrowWebAssemblyMemory(Isolate* isolate, Handle<Object> receiver, |
+int32_t GrowWebAssemblyMemory(Isolate* isolate, |
+ Handle<WasmMemoryObject> receiver, |
uint32_t pages); |
int32_t GrowMemory(Isolate* isolate, Handle<WasmInstanceObject> instance, |