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

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

Issue 2536763002: [inspector] [wasm] Implement GetPossibleBreakpoints (Closed)
Patch Set: Rebase 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-objects.h
diff --git a/src/wasm/wasm-objects.h b/src/wasm/wasm-objects.h
index 5f306d36fce57df0f33511fc49c2dc87243b706c..eaa778db9ba1d9ba1efb9eb0299791ddd0ae763c 100644
--- a/src/wasm/wasm-objects.h
+++ b/src/wasm/wasm-objects.h
@@ -296,6 +296,12 @@ class WasmCompiledModule : public FixedArray {
static int GetAsmJsSourcePosition(Handle<WasmCompiledModule> debug_info,
uint32_t func_index, uint32_t byte_offset);
+ // Get a list of all possible breakpoints within a given range of this module.
+ bool GetPossibleBreakpoints(
+ const DebugInterface::Location& start,
+ const DebugInterface::Location& end,
+ std::vector<DebugInterface::Location>* locations) const;
+
private:
void InitId();

Powered by Google App Engine
This is Rietveld 408576698