Index: src/wasm/wasm-module.h |
diff --git a/src/wasm/wasm-module.h b/src/wasm/wasm-module.h |
index 019dc56af6478d6826172c11af2a7f3d5c6dc3ec..5a68ad8a779aff7ffd44482c32c3e8252d440573 100644 |
--- a/src/wasm/wasm-module.h |
+++ b/src/wasm/wasm-module.h |
@@ -224,10 +224,12 @@ struct WasmModule { |
} |
// Creates a new instantiation of the module in the given isolate. |
- MaybeHandle<JSObject> Instantiate(Isolate* isolate, Handle<JSReceiver> ffi, |
- Handle<JSArrayBuffer> memory) const; |
+ static MaybeHandle<JSObject> Instantiate(Isolate* isolate, |
+ Handle<FixedArray> compiled_module, |
+ Handle<JSReceiver> ffi, |
+ Handle<JSArrayBuffer> memory); |
- Handle<FixedArray> CompileFunctions(Isolate* isolate) const; |
+ MaybeHandle<FixedArray> CompileFunctions(Isolate* isolate) const; |
uint32_t FunctionTableSize() const { |
if (indirect_table_size > 0) { |