diff options
Diffstat (limited to 'lld/wasm/SyntheticSections.h')
-rw-r--r-- | lld/wasm/SyntheticSections.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lld/wasm/SyntheticSections.h b/lld/wasm/SyntheticSections.h index 1557ce79d2d..23f9711dec1 100644 --- a/lld/wasm/SyntheticSections.h +++ b/lld/wasm/SyntheticSections.h @@ -250,9 +250,7 @@ protected: class DataCountSection : public SyntheticSection { public: - DataCountSection(uint32_t numSegments) - : SyntheticSection(llvm::wasm::WASM_SEC_DATACOUNT), - numSegments(numSegments) {} + DataCountSection(ArrayRef<OutputSegment *> segments); bool isNeeded() const override; void writeBody() override; |