[ARM] Remove unused field in executable writer
authorDenis Protivensky <dprotivensky@accesssoftek.com>
Thu, 21 May 2015 11:50:54 +0000 (11:50 +0000)
committerDenis Protivensky <dprotivensky@accesssoftek.com>
Thu, 21 May 2015 11:50:54 +0000 (11:50 +0000)
llvm-svn: 237892

lld/lib/ReaderWriter/ELF/ARM/ARMExecutableWriter.h

index 0f5c89d..45e0aff 100644 (file)
@@ -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) {