Index: src/wasm/module-decoder.h |
diff --git a/src/wasm/module-decoder.h b/src/wasm/module-decoder.h |
index ba4daed2cb85622330c8b34c9fcdad9feb167551..5efd16214421ecf9659d08f697d27939c5d6c23f 100644 |
--- a/src/wasm/module-decoder.h |
+++ b/src/wasm/module-decoder.h |
@@ -18,7 +18,12 @@ typedef Result<const WasmModule*> ModuleResult; |
typedef Result<WasmFunction*> FunctionResult; |
typedef std::vector<std::pair<int, int>> FunctionOffsets; |
typedef Result<FunctionOffsets> FunctionOffsetsResult; |
-typedef std::vector<std::vector<std::pair<int, int>>> AsmJsOffsets; |
+struct AsmJsOffsetEntry { |
+ int byte_offset; |
+ int source_position_call; |
+ int source_position_number_conversion; |
+}; |
+typedef std::vector<std::vector<AsmJsOffsetEntry>> AsmJsOffsets; |
typedef Result<AsmJsOffsets> AsmJsOffsetsResult; |
// Decodes the bytes of a WASM module between {module_start} and {module_end}. |