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

Unified Diff: src/debug/debug-interface.h

Issue 2655653003: [inspector] Expose GetPossibleBreakpoints for wasm (Closed)
Patch Set: Address comments Created 3 years, 11 months 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/debug/debug-interface.h
diff --git a/src/debug/debug-interface.h b/src/debug/debug-interface.h
index 6f72aba80449c53275a6887fef8ccc3aaac6848e..fcf119e3ad3fbb8e5363a738f0a74cdde4ffa226 100644
--- a/src/debug/debug-interface.h
+++ b/src/debug/debug-interface.h
@@ -139,6 +139,8 @@ class WasmScript : public Script {
int NumFunctions() const;
int NumImportedFunctions() const;
+ std::pair<int, int> GetFunctionRange(int function_index) const;
+
debug::WasmDisassembly DisassembleFunction(int function_index) const;
};

Powered by Google App Engine
This is Rietveld 408576698