Index: src/wasm/wasm-module.h |
diff --git a/src/wasm/wasm-module.h b/src/wasm/wasm-module.h |
index 163f092c7d774ddc478839dffd5d6c9e18704c1d..081e7c09e3aa3d35974f8689bc05111215a78ce6 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) { |