Index: src/wasm/wasm-module.cc |
diff --git a/src/wasm/wasm-module.cc b/src/wasm/wasm-module.cc |
index cc2bf561a34a96c23be837e0caf487179f2558d0..00152461d23fe80e8b32bbd2ab5bedeb3a1fcbdd 100644 |
--- a/src/wasm/wasm-module.cc |
+++ b/src/wasm/wasm-module.cc |
@@ -1986,9 +1986,8 @@ Handle<Script> wasm::GetScript(Handle<JSObject> instance) { |
return compiled_module->script(); |
} |
-std::pair<std::string, std::vector<std::tuple<uint32_t, int, int>>> |
-wasm::DisassembleFunction(Handle<WasmCompiledModule> compiled_module, |
- int func_index) { |
+v8::DebugInterface::WasmDisassembly wasm::DisassembleFunction( |
+ Handle<WasmCompiledModule> compiled_module, int func_index) { |
if (func_index < 0 || |
static_cast<uint32_t>(func_index) >= |
compiled_module->module()->functions.size()) |