Index: src/wasm/wasm-text.h |
diff --git a/src/wasm/wasm-text.h b/src/wasm/wasm-text.h |
index 41c0991ad4fe75ff4cf346c9cff770ad968fa91c..560492154fcc036f0a097c13f47dd700ae6009ed 100644 |
--- a/src/wasm/wasm-text.h |
+++ b/src/wasm/wasm-text.h |
@@ -17,12 +17,13 @@ namespace wasm { |
// Forward declaration. |
struct WasmModule; |
+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, uint32_t func_index, |
- std::ostream &os, |
+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); |
} // namespace wasm |