| Index: src/wasm/wasm-module.cc
|
| diff --git a/src/wasm/wasm-module.cc b/src/wasm/wasm-module.cc
|
| index f571f5f568ab560eefc82aff3f01bc81c7a42e21..a1c2a7a3e10a0900ba4de3aaebc3fabe1ab3ca91 100644
|
| --- a/src/wasm/wasm-module.cc
|
| +++ b/src/wasm/wasm-module.cc
|
| @@ -589,7 +589,7 @@ compiler::CallDescriptor* ModuleEnv::GetCallDescriptor(Zone* zone,
|
| int32_t CompileAndRunWasmModule(Isolate* isolate, const byte* module_start,
|
| const byte* module_end, bool asm_js) {
|
| HandleScope scope(isolate);
|
| - Zone zone;
|
| + Zone zone(isolate->allocator());
|
| // Decode the module, but don't verify function bodies, since we'll
|
| // be compiling them anyway.
|
| ModuleResult result = DecodeWasmModule(isolate, &zone, module_start,
|
|
|