Index: src/wasm/wasm-objects.cc |
diff --git a/src/wasm/wasm-objects.cc b/src/wasm/wasm-objects.cc |
index 665d2adbdf2ccf1a085829a098ffb77f0411259f..d8c4a7a4d0b14d80c0167ca064f5f25b5bf95533 100644 |
--- a/src/wasm/wasm-objects.cc |
+++ b/src/wasm/wasm-objects.cc |
@@ -804,7 +804,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 |