Index: src/wasm/wasm-module.h |
diff --git a/src/wasm/wasm-module.h b/src/wasm/wasm-module.h |
index 1bea6c806f1aa8bdbf6b84badf9096d7cc09d1c0..2dded1e1c411bd05d0d6a4a37d4341cb2f0ced5f 100644 |
--- a/src/wasm/wasm-module.h |
+++ b/src/wasm/wasm-module.h |
@@ -422,8 +422,8 @@ |
// Returns nullptr on failing to get owning instance. |
WasmInstanceObject* GetOwningWasmInstance(Code* code); |
-MaybeHandle<JSArrayBuffer> GetInstanceMemory(Isolate* isolate, |
- Handle<JSObject> instance); |
+MaybeHandle<JSArrayBuffer> GetInstanceMemory( |
+ Isolate* isolate, Handle<WasmInstanceObject> instance); |
int32_t GetInstanceMemorySize(Isolate* isolate, |
Handle<WasmInstanceObject> instance); |
@@ -433,14 +433,6 @@ |
Handle<JSArrayBuffer> NewArrayBuffer(Isolate* isolate, size_t size, |
bool enable_guard_regions); |
- |
-int32_t GetInstanceMemorySize(Isolate* isolate, Handle<JSObject> instance); |
- |
-int32_t GrowWebAssemblyMemory(Isolate* isolate, Handle<Object> receiver, |
- uint32_t pages); |
- |
-int32_t GrowMemory(Isolate* isolate, Handle<WasmInstanceObject> instance, |
- uint32_t pages); |
void UpdateDispatchTables(Isolate* isolate, Handle<FixedArray> dispatch_tables, |
int index, Handle<JSFunction> js_function); |