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

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

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
« src/debug/debug-interface.h ('K') | « src/wasm/wasm-module.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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())
« src/debug/debug-interface.h ('K') | « src/wasm/wasm-module.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698