Index: src/wasm/wasm-module.h |
diff --git a/src/wasm/wasm-module.h b/src/wasm/wasm-module.h |
index 1da17ba91d51837344b4b8e8e27a70606913abda..7e009de05ecf5496653a4825da48bf7342f14260 100644 |
--- a/src/wasm/wasm-module.h |
+++ b/src/wasm/wasm-module.h |
@@ -210,6 +210,8 @@ 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; |
+ |
+ Handle<FixedArray> Compile(Isolate* isolate) const; |
}; |
// An instantiated WASM module, including memory, function table, etc. |
@@ -232,6 +234,7 @@ struct WasmModuleInstance { |
explicit WasmModuleInstance(const WasmModule* m) |
: module(m), |
function_code(m->functions.size()), |
+ import_code(m->import_table.size()), |
mem_start(nullptr), |
mem_size(0), |
globals_start(nullptr) {} |