summaryrefslogtreecommitdiffstats
path: root/lld/wasm/Symbols.h
diff options
context:
space:
mode:
Diffstat (limited to 'lld/wasm/Symbols.h')
-rw-r--r--lld/wasm/Symbols.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/lld/wasm/Symbols.h b/lld/wasm/Symbols.h
index afda399965e..3e80944ae97 100644
--- a/lld/wasm/Symbols.h
+++ b/lld/wasm/Symbols.h
@@ -38,8 +38,7 @@ public:
InvalidKind,
};
- Symbol(StringRef Name, uint32_t Flags)
- : WrittenToNameSec(0), Flags(Flags), Name(Name) {}
+ Symbol(StringRef Name, uint32_t Flags) : Flags(Flags), Name(Name) {}
Kind getKind() const { return SymbolKind; }
@@ -100,10 +99,6 @@ public:
const Archive::Symbol &getArchiveSymbol() { return ArchiveSymbol; }
InputFunction *getFunction() { return Function; }
- // This bit is used by Writer::writeNameSection() to prevent
- // symbols from being written to the symbol table more than once.
- unsigned WrittenToNameSec : 1;
-
protected:
uint32_t Flags;
uint32_t VirtualAddress = 0;
OpenPOWER on IntegriCloud