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

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

Issue 2529383002: [inspector] Split off interface-types.h (Closed)
Patch Set: Rebase Created 4 years 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-text.h
diff --git a/src/wasm/wasm-text.h b/src/wasm/wasm-text.h
index 560492154fcc036f0a097c13f47dd700ae6009ed..1608ea9a2dde4ace0e61a971241ae4ac6a42e51a 100644
--- a/src/wasm/wasm-text.h
+++ b/src/wasm/wasm-text.h
@@ -11,8 +11,12 @@
#include <vector>
namespace v8 {
-namespace internal {
+namespace debug {
+struct WasmDisassemblyOffsetTableEntry;
+} // namespace debug
+
+namespace internal {
namespace wasm {
// Forward declaration.
@@ -22,9 +26,10 @@ struct ModuleWireBytes;
// Generate disassembly according to official text format.
// Output disassembly to the given output stream, and optionally return an
// offset table of <byte offset, line, column> via the given pointer.
-void PrintWasmText(const WasmModule *module, const ModuleWireBytes &wire_bytes,
- uint32_t func_index, std::ostream &os,
- std::vector<std::tuple<uint32_t, int, int>> *offset_table);
+void PrintWasmText(
+ const WasmModule *module, const ModuleWireBytes &wire_bytes,
+ uint32_t func_index, std::ostream &os,
+ std::vector<debug::WasmDisassemblyOffsetTableEntry> *offset_table);
} // namespace wasm
} // namespace internal

Powered by Google App Engine
This is Rietveld 408576698