[lld] r246160 - ELF/AMDGPU: Remove unused private member variable
Tom Stellard via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 27 09:52:59 PDT 2015
Author: tstellar
Date: Thu Aug 27 11:52:58 2015
New Revision: 246160
URL: http://llvm.org/viewvc/llvm-project?rev=246160&view=rev
Log:
ELF/AMDGPU: Remove unused private member variable
This should fix the one of the failing bots.
Modified:
lld/trunk/lib/ReaderWriter/ELF/AMDGPU/AMDGPUExecutableWriter.cpp
lld/trunk/lib/ReaderWriter/ELF/AMDGPU/AMDGPUExecutableWriter.h
Modified: lld/trunk/lib/ReaderWriter/ELF/AMDGPU/AMDGPUExecutableWriter.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/lib/ReaderWriter/ELF/AMDGPU/AMDGPUExecutableWriter.cpp?rev=246160&r1=246159&r2=246160&view=diff
==============================================================================
--- lld/trunk/lib/ReaderWriter/ELF/AMDGPU/AMDGPUExecutableWriter.cpp (original)
+++ lld/trunk/lib/ReaderWriter/ELF/AMDGPU/AMDGPUExecutableWriter.cpp Thu Aug 27 11:52:58 2015
@@ -13,7 +13,7 @@ using namespace lld::elf;
AMDGPUExecutableWriter::AMDGPUExecutableWriter(AMDGPULinkingContext &ctx,
AMDGPUTargetLayout &layout)
- : ExecutableWriter(ctx, layout), _ctx(ctx), _targetLayout(layout) {}
+ : ExecutableWriter(ctx, layout), _ctx(ctx) {}
void AMDGPUExecutableWriter::createImplicitFiles(
std::vector<std::unique_ptr<File>> &Result) {
Modified: lld/trunk/lib/ReaderWriter/ELF/AMDGPU/AMDGPUExecutableWriter.h
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/lib/ReaderWriter/ELF/AMDGPU/AMDGPUExecutableWriter.h?rev=246160&r1=246159&r2=246160&view=diff
==============================================================================
--- lld/trunk/lib/ReaderWriter/ELF/AMDGPU/AMDGPUExecutableWriter.h (original)
+++ lld/trunk/lib/ReaderWriter/ELF/AMDGPU/AMDGPUExecutableWriter.h Thu Aug 27 11:52:58 2015
@@ -33,7 +33,6 @@ public:
private:
AMDGPULinkingContext &_ctx;
- AMDGPUTargetLayout &_targetLayout;
};
} // namespace elf
More information about the llvm-commits
mailing list