Index: src/api.cc |
diff --git a/src/api.cc b/src/api.cc |
index 9b31aed77464179412cdc490d6a6f30ab8725edb..fb0582090b7422dc5981e67fa52c13358c8e7561 100644 |
--- a/src/api.cc |
+++ b/src/api.cc |
@@ -7248,9 +7248,10 @@ MaybeLocal<WasmCompiledModule> WasmCompiledModule::Compile(Isolate* isolate, |
i::Isolate* i_isolate = reinterpret_cast<i::Isolate*>(isolate); |
i::wasm::ErrorThrower thrower(i_isolate, "WasmCompiledModule::Deserialize()"); |
i::MaybeHandle<i::JSObject> maybe_compiled = |
- i::wasm::CreateModuleObjectFromBytes(i_isolate, start, start + length, |
- &thrower, |
- i::wasm::ModuleOrigin::kWasmOrigin); |
+ i::wasm::CreateModuleObjectFromBytes( |
+ i_isolate, start, start + length, &thrower, |
+ i::wasm::ModuleOrigin::kWasmOrigin, i::Handle<i::Script>::null(), |
+ nullptr, nullptr); |
if (maybe_compiled.is_null()) return MaybeLocal<WasmCompiledModule>(); |
return Local<WasmCompiledModule>::Cast( |
Utils::ToLocal(maybe_compiled.ToHandleChecked())); |