| Index: src/api.cc
|
| diff --git a/src/api.cc b/src/api.cc
|
| index 6ab8c72d8c05fa530d7f1c86fe6b3c3d5c17f112..b5935e29fc2e9932f57c2c5765d7c97d7f6856c4 100644
|
| --- a/src/api.cc
|
| +++ b/src/api.cc
|
| @@ -9136,7 +9136,7 @@ DebugInterface::DisassembleWasmFunction(Isolate* v8_isolate,
|
| if (script->type() != i::Script::TYPE_WASM) return {};
|
| i::Handle<i::WasmCompiledModule> compiled_module(
|
| i::WasmCompiledModule::cast(script->wasm_compiled_module()), isolate);
|
| - return i::wasm::DisassembleFunction(compiled_module, function_index);
|
| + return compiled_module->DisassembleFunction(function_index);
|
| }
|
|
|
| MaybeLocal<UnboundScript> DebugInterface::CompileInspectorScript(
|
|
|