Index: src/api.cc |
diff --git a/src/api.cc b/src/api.cc |
index d5a53b6701f158b82ed301f51c087cba3a2df58a..83adf65f6eeadef77f7d1ead4c14cd7d2293cc05 100644 |
--- a/src/api.cc |
+++ b/src/api.cc |
@@ -9110,10 +9110,8 @@ void DebugInterface::GetLoadedScripts( |
} |
} |
-std::pair<std::string, std::vector<std::tuple<uint32_t, int, int>>> |
-DebugInterface::DisassembleWasmFunction(Isolate* v8_isolate, |
- Local<Object> v8_script, |
- int function_index) { |
+DebugInterface::WasmDisassembly DebugInterface::DisassembleWasmFunction( |
+ Isolate* v8_isolate, Local<Object> v8_script, int function_index) { |
i::Isolate* isolate = reinterpret_cast<i::Isolate*>(v8_isolate); |
if (v8_script.IsEmpty()) return {}; |
i::Handle<i::Object> script_wrapper = Utils::OpenHandle(*v8_script); |