Index: test/common/wasm/wasm-module-runner.h |
diff --git a/test/common/wasm/wasm-module-runner.h b/test/common/wasm/wasm-module-runner.h |
index 780d23e06f67e40abfaeb4785eeba458c69dbf79..a04080dccaec04f364577a84e07be4470543bcba 100644 |
--- a/test/common/wasm/wasm-module-runner.h |
+++ b/test/common/wasm/wasm-module-runner.h |
@@ -49,8 +49,8 @@ int32_t InterpretWasmModule(Isolate* isolate, ErrorThrower* thrower, |
// Compiles WasmModule bytes and return an instance of the compiled module. |
const Handle<JSObject> CompileInstantiateWasmModuleForTesting( |
- Isolate* isolate, Zone* zone, const byte* module_start, |
- const byte* module_end, ModuleOrigin origin); |
+ Isolate* isolate, ErrorThrower* thrower, Zone* zone, |
+ const byte* module_start, const byte* module_end, ModuleOrigin origin); |
// Runs the module instance with arguments. |
int32_t RunWasmModuleForTesting(Isolate* isolate, Handle<JSObject> instance, |
@@ -58,6 +58,9 @@ int32_t RunWasmModuleForTesting(Isolate* isolate, Handle<JSObject> instance, |
ModuleOrigin origin); |
// Install function map, module symbol for testing |
void SetupIsolateForWasmModule(Isolate* isolate); |
+ |
+MaybeHandle<JSArrayBuffer> GetInstanceMemoryForTesting( |
+ Isolate* isolate, Handle<JSObject> instance); |
} // namespace testing |
} // namespace wasm |
} // namespace internal |