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

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

Issue 2074933005: [wasm] Handlify WasmDebugInfo where needed (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 6 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
« no previous file with comments | « no previous file | src/wasm/wasm-debug.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/wasm/wasm-debug.h
diff --git a/src/wasm/wasm-debug.h b/src/wasm/wasm-debug.h
index 9749a3659cc421468a80ffce313e26dea26ec187..48dc4be6ec5e2dd800b9d91f144a45420f6bd839 100644
--- a/src/wasm/wasm-debug.h
+++ b/src/wasm/wasm-debug.h
@@ -24,12 +24,14 @@ class WasmDebugInfo : public FixedArray {
bool SetBreakPoint(int byte_offset);
// Disassemble the specified function from this module.
- Handle<String> DisassembleFunction(int func_index);
+ static Handle<String> DisassembleFunction(Handle<WasmDebugInfo> debug_info,
+ int func_index);
// Get the offset table for the specified function.
// Returns an array with three entries per instruction: byte offset, line and
// column.
- Handle<FixedArray> GetFunctionOffsetTable(int func_index);
+ static Handle<FixedArray> GetFunctionOffsetTable(
+ Handle<WasmDebugInfo> debug_info, int func_index);
};
} // namespace wasm
« no previous file with comments | « no previous file | src/wasm/wasm-debug.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698