Index: src/wasm/wasm-module.h |
diff --git a/src/wasm/wasm-module.h b/src/wasm/wasm-module.h |
index 1da17ba91d51837344b4b8e8e27a70606913abda..615f633a95dd8549909a5e70964276473ecfc93d 100644 |
--- a/src/wasm/wasm-module.h |
+++ b/src/wasm/wasm-module.h |
@@ -307,6 +307,8 @@ std::ostream& operator<<(std::ostream& os, const WasmFunctionName& name); |
typedef Result<const WasmModule*> ModuleResult; |
typedef Result<WasmFunction*> FunctionResult; |
+typedef std::vector<std::pair<int, int>> FunctionOffsets; |
+typedef Result<FunctionOffsets> FunctionOffsetsResult; |
// For testing. Decode, verify, and run the last exported function in the |
// given encoded module. |