Index: src/wasm/wasm-module.h |
diff --git a/src/wasm/wasm-module.h b/src/wasm/wasm-module.h |
index 4092958367b76a641c888fcdc02ed95b07cfc68c..a9d61fd71fead418ee80aef288cd2f5ee6f0a718 100644 |
--- a/src/wasm/wasm-module.h |
+++ b/src/wasm/wasm-module.h |
@@ -185,6 +185,7 @@ struct V8_EXPORT_PRIVATE WasmModule { |
const byte* module_end = nullptr; // end address for the module bytes |
uint32_t min_mem_pages = 0; // minimum size of the memory in 64k pages |
uint32_t max_mem_pages = 0; // maximum size of the memory in 64k pages |
+ bool has_memory = false; // true if the memory was defined or imported |
bool mem_export = false; // true if the memory is exported |
// TODO(wasm): reconcile start function index being an int with |
// the fact that we index on uint32_t, so we may technically not be |