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.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/wasm-binary.h b/src/wasm-binary.h
index 51c2b3e52..6938214d5 100644
--- a/src/wasm-binary.h
+++ b/src/wasm-binary.h
@@ -1338,9 +1338,9 @@ class WasmBinaryBuilder {
std::vector<HeapType> types;
public:
- WasmBinaryBuilder(Module& wasm, const std::vector<char>& input)
- : wasm(wasm), allocator(wasm.allocator), input(input), sourceMap(nullptr),
- nextDebugLocation(0, {0, 0, 0}), debugLocation() {}
+ WasmBinaryBuilder(Module& wasm,
+ FeatureSet features,
+ const std::vector<char>& input);
void setDebugInfo(bool value) { debugInfo = value; }
void setDWARF(bool value) { DWARF = value; }