Index: src/wasm/module-decoder.cc |
diff --git a/src/wasm/module-decoder.cc b/src/wasm/module-decoder.cc |
index f5bb9199ea9e0dc778891afdf9d4a337c55d3c0b..c1f8bd93f0db06ec5d73acfedcfc7c647e887a52 100644 |
--- a/src/wasm/module-decoder.cc |
+++ b/src/wasm/module-decoder.cc |
@@ -102,10 +102,7 @@ class ModuleDecoder : public Decoder { |
// Set up module environment for verification. |
ModuleEnv menv; |
menv.module = module; |
- menv.globals_area = 0; |
- menv.mem_start = 0; |
- menv.mem_end = 0; |
- menv.function_code = nullptr; |
+ menv.instance = nullptr; |
menv.asm_js = asm_js_; |
// Decode functions. |
for (uint32_t i = 0; i < functions_count; i++) { |