[lld] r237892 - [ARM] Remove unused field in executable writer

Denis Protivensky dprotivensky at accesssoftek.com
Thu May 21 04:50:54 PDT 2015


Author: denis-protivensky
Date: Thu May 21 06:50:54 2015
New Revision: 237892

URL: http://llvm.org/viewvc/llvm-project?rev=237892&view=rev
Log:
[ARM] Remove unused field in executable writer

Modified:
    lld/trunk/lib/ReaderWriter/ELF/ARM/ARMExecutableWriter.h

Modified: lld/trunk/lib/ReaderWriter/ELF/ARM/ARMExecutableWriter.h
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/lib/ReaderWriter/ELF/ARM/ARMExecutableWriter.h?rev=237892&r1=237891&r2=237892&view=diff
==============================================================================
--- lld/trunk/lib/ReaderWriter/ELF/ARM/ARMExecutableWriter.h (original)
+++ lld/trunk/lib/ReaderWriter/ELF/ARM/ARMExecutableWriter.h Thu May 21 06:50:54 2015
@@ -30,12 +30,11 @@ protected:
 
 private:
   ARMLinkingContext &_ctx;
-  ARMTargetLayout &_armLayout;
 };
 
 ARMExecutableWriter::ARMExecutableWriter(ARMLinkingContext &ctx,
                                          ARMTargetLayout &layout)
-    : ARMELFWriter(ctx, layout), _ctx(ctx), _armLayout(layout) {}
+    : ARMELFWriter(ctx, layout), _ctx(ctx) {}
 
 void ARMExecutableWriter::createImplicitFiles(
     std::vector<std::unique_ptr<File>> &result) {





More information about the llvm-commits mailing list