[lld] r261913 - Remove default values which are always overwritten.

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 25 10:49:10 PST 2016


Author: ruiu
Date: Thu Feb 25 12:49:09 2016
New Revision: 261913

URL: http://llvm.org/viewvc/llvm-project?rev=261913&view=rev
Log:
Remove default values which are always overwritten.

Modified:
    lld/trunk/ELF/InputSection.h

Modified: lld/trunk/ELF/InputSection.h
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/InputSection.h?rev=261913&r1=261912&r2=261913&view=diff
==============================================================================
--- lld/trunk/ELF/InputSection.h (original)
+++ lld/trunk/ELF/InputSection.h Thu Feb 25 12:49:09 2016
@@ -43,10 +43,10 @@ public:
   InputSectionBase(ObjectFile<ELFT> *File, const Elf_Shdr *Header,
                    Kind SectionKind);
   OutputSectionBase<ELFT> *OutSec = nullptr;
-  uint32_t Align = 1;
+  uint32_t Align;
 
   // Used for garbage collection.
-  bool Live = false;
+  bool Live;
 
   // This pointer points to the "real" instance of this instance.
   // Usually Repl == this. However, if ICF merges two sections,




More information about the llvm-commits mailing list