Index: src/wasm/wasm-module.h |
diff --git a/src/wasm/wasm-module.h b/src/wasm/wasm-module.h |
index ce936e2da69e565564d2c7bbb1691907974eb5c5..53b53b07af160564a5c9189bf44d811f6c1706a9 100644 |
--- a/src/wasm/wasm-module.h |
+++ b/src/wasm/wasm-module.h |
@@ -512,9 +512,8 @@ uint32_t GetNumImportedFunctions(Handle<JSObject> wasm_object); |
// Returns nullptr on failing to get owning instance. |
Object* GetOwningWasmInstance(Code* code); |
-MaybeHandle<JSArrayBuffer> GetInstanceMemory(Isolate* isolate, |
- Handle<JSObject> instance); |
-void SetInstanceMemory(Handle<JSObject> instance, JSArrayBuffer* buffer); |
+int32_t GrowInstanceMemory(Isolate* isolate, Handle<JSObject> instance, |
+ uint32_t pages); |
namespace testing { |