Index: src/api.cc |
diff --git a/src/api.cc b/src/api.cc |
index 0dfe70d5dd69c973e060ff636da8a7bf00385835..8ce5041c6a8193d7a396637085d7cae9b7120fa9 100644 |
--- a/src/api.cc |
+++ b/src/api.cc |
@@ -6942,8 +6942,9 @@ MaybeLocal<WasmCompiledModule> WasmCompiledModule::Deserialize( |
if (!maybe_compiled_part.ToHandle(&compiled_part)) { |
return MaybeLocal<WasmCompiledModule>(); |
} |
- return Local<WasmCompiledModule>::Cast(Utils::ToLocal( |
- i::wasm::CreateCompiledModuleObject(i_isolate, compiled_part))); |
+ return Local<WasmCompiledModule>::Cast( |
+ Utils::ToLocal(i::wasm::CreateCompiledModuleObject( |
+ i_isolate, compiled_part, i::wasm::ModuleOrigin::kWasmOrigin))); |
} |
// static |