Index: src/wasm/wasm-module.h |
diff --git a/src/wasm/wasm-module.h b/src/wasm/wasm-module.h |
index 986e2a96d2f0d8cb8eb6595f5a43f1f8880300c1..25a50ed68ee5471f5ac0f77e4633402cf653baa3 100644 |
--- a/src/wasm/wasm-module.h |
+++ b/src/wasm/wasm-module.h |
@@ -552,6 +552,9 @@ int 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); |
+ |
int32_t GetInstanceMemorySize(Isolate* isolate, Handle<JSObject> instance); |
int32_t GrowInstanceMemory(Isolate* isolate, Handle<JSObject> instance, |