| Index: src/wasm/wasm-objects.cc
|
| diff --git a/src/wasm/wasm-objects.cc b/src/wasm/wasm-objects.cc
|
| index 49e8f50da39141c5bf43de5c559d9d2ec0ae7e39..8117f22fdc3bf2b935e13c007b505f45a8271ebe 100644
|
| --- a/src/wasm/wasm-objects.cc
|
| +++ b/src/wasm/wasm-objects.cc
|
| @@ -802,7 +802,7 @@ void WasmSharedModuleData::ReinitializeAfterDeserialization(
|
| // TODO(titzer): remember the module origin in the compiled_module
|
| // For now, we assume serialized modules did not originate from asm.js.
|
| ModuleResult result =
|
| - DecodeWasmModule(isolate, start, end, false, kWasmOrigin);
|
| + SyncDecodeWasmModule(isolate, start, end, false, kWasmOrigin);
|
| CHECK(result.ok());
|
| CHECK_NOT_NULL(result.val);
|
| // Take ownership of the WasmModule and immediately transfer it to the
|
|
|