diff options
Diffstat (limited to 'src/wasm-binary.h')
-rw-r--r-- | src/wasm-binary.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/wasm-binary.h b/src/wasm-binary.h index 6c1230b7b..b5aa83960 100644 --- a/src/wasm-binary.h +++ b/src/wasm-binary.h @@ -1270,8 +1270,10 @@ class WasmBinaryWriter { }; public: - WasmBinaryWriter(Module* input, BufferWithRandomAccess& o) - : wasm(input), o(o), indexes(*input) { + WasmBinaryWriter(Module* input, + BufferWithRandomAccess& o, + const PassOptions& options) + : wasm(input), o(o), options(options), indexes(*input) { prepare(); } @@ -1384,6 +1386,8 @@ public: private: Module* wasm; BufferWithRandomAccess& o; + const PassOptions& options; + BinaryIndexes indexes; ModuleUtils::IndexedHeapTypes indexedTypes; std::unordered_map<Signature, uint32_t> signatureIndexes; |