| Index: src/api.cc
|
| diff --git a/src/api.cc b/src/api.cc
|
| index 9b31aed77464179412cdc490d6a6f30ab8725edb..6d60d5e188d5794b474cec5e966030fe86dc8f46 100644
|
| --- a/src/api.cc
|
| +++ b/src/api.cc
|
| @@ -7248,9 +7248,9 @@ 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());
|
| if (maybe_compiled.is_null()) return MaybeLocal<WasmCompiledModule>();
|
| return Local<WasmCompiledModule>::Cast(
|
| Utils::ToLocal(maybe_compiled.ToHandleChecked()));
|
|
|