Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(367)

Unified Diff: src/wasm/wasm-module.h

Issue 2529383002: [inspector] Split off interface-types.h (Closed)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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.

Powered by Google App Engine
This is Rietveld 408576698