summaryrefslogtreecommitdiff
path: root/src/wasm-binary.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/wasm-binary.h')
-rw-r--r--src/wasm-binary.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/wasm-binary.h b/src/wasm-binary.h
index ae71251bb..cdac878c1 100644
--- a/src/wasm-binary.h
+++ b/src/wasm-binary.h
@@ -733,8 +733,11 @@ class WasmBinaryWriter {
MixedArena allocator;
+ // storage of source map locations until the section is placed at its final location
+ // (shrinking LEBs may cause changes there)
+ std::vector<std::pair<size_t, const Function::DebugLocation*>> sourceMapLocations;
+ size_t sourceMapLocationsSizeAtSectionStart;
Function::DebugLocation lastDebugLocation;
- size_t lastBytecodeOffset;
void prepare();
public: