Remove redundant variable.

llvm-svn: 275667
This commit is contained in:
Rui Ueyama 2016-07-16 02:47:42 +00:00
parent f524464e2f
commit e9381bd2d8
2 changed files with 2 additions and 5 deletions

View File

@ -1098,9 +1098,8 @@ static void writeCieFde(uint8_t *Buf, ArrayRef<uint8_t> D) {
}
template <class ELFT> void EhOutputSection<ELFT>::finalize() {
if (Finalized)
return;
Finalized = true;
if (this->Header.sh_size)
return; // Already finalized.
size_t Off = 0;
for (CieRecord *Cie : Cies) {

View File

@ -414,8 +414,6 @@ private:
// CIE records are uniquified by their contents and personality functions.
llvm::DenseMap<std::pair<ArrayRef<uint8_t>, SymbolBody *>, CieRecord> CieMap;
bool Finalized = false;
};
template <class ELFT>