Remove unused variables.
authorMichael J. Spencer <bigcheesegs@gmail.com>
Wed, 25 Feb 2015 23:48:33 +0000 (23:48 +0000)
committerMichael J. Spencer <bigcheesegs@gmail.com>
Wed, 25 Feb 2015 23:48:33 +0000 (23:48 +0000)
llvm-svn: 230578

lld/lib/ReaderWriter/ELF/X86_64/X86_64DynamicLibraryWriter.h

index d25c739..b996186 100644 (file)
@@ -42,14 +42,11 @@ private:
   };
 
   std::unique_ptr<GOTFile> _gotFile;
-  X86_64LinkingContext &_context;
-  X86_64TargetLayout &_x86_64Layout;
 };
 
 X86_64DynamicLibraryWriter::X86_64DynamicLibraryWriter(
     X86_64LinkingContext &context, X86_64TargetLayout &layout)
-    : DynamicLibraryWriter(context, layout), _gotFile(new GOTFile(context)),
-      _context(context), _x86_64Layout(layout) {}
+    : DynamicLibraryWriter(context, layout), _gotFile(new GOTFile(context)) {}
 
 bool X86_64DynamicLibraryWriter::createImplicitFiles(
     std::vector<std::unique_ptr<File>> &result) {