Index: src/wasm/wasm-module.h |
diff --git a/src/wasm/wasm-module.h b/src/wasm/wasm-module.h |
index 071d0fb2e6503659179aa1e84fa52d78d1c7da0b..bb7a6820972b0e5af44a1d789a83ef47cf4a2c71 100644 |
--- a/src/wasm/wasm-module.h |
+++ b/src/wasm/wasm-module.h |
@@ -8,6 +8,7 @@ |
#include <memory> |
#include "src/api.h" |
+#include "src/debug/debug-interface.h" |
#include "src/globals.h" |
#include "src/handles.h" |
#include "src/parsing/preparse-data.h" |
@@ -391,8 +392,8 @@ Handle<Script> GetScript(Handle<JSObject> instance); |
// entries, mapping wasm byte offsets to line and column in the disassembly. |
// The list is guaranteed to be ordered by the byte_offset. |
// Returns an empty string and empty vector if the function index is invalid. |
-std::pair<std::string, std::vector<std::tuple<uint32_t, int, int>>> |
-DisassembleFunction(Handle<WasmCompiledModule> compiled_module, int func_index); |
+DebugInterface::WasmDisassembly DisassembleFunction( |
+ Handle<WasmCompiledModule> compiled_module, int func_index); |
// Get the asm.js source position for the given byte offset in the given |
// function. |