[lld] r234831 - Remove unused variable.
Rui Ueyama
ruiu at google.com
Mon Apr 13 18:10:19 PDT 2015
Author: ruiu
Date: Mon Apr 13 20:10:19 2015
New Revision: 234831
URL: http://llvm.org/viewvc/llvm-project?rev=234831&view=rev
Log:
Remove unused variable.
Modified:
lld/trunk/lib/ReaderWriter/ELF/Hexagon/HexagonTargetHandler.cpp
lld/trunk/lib/ReaderWriter/ELF/Hexagon/HexagonTargetHandler.h
Modified: lld/trunk/lib/ReaderWriter/ELF/Hexagon/HexagonTargetHandler.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/lib/ReaderWriter/ELF/Hexagon/HexagonTargetHandler.cpp?rev=234831&r1=234830&r2=234831&view=diff
==============================================================================
--- lld/trunk/lib/ReaderWriter/ELF/Hexagon/HexagonTargetHandler.cpp (original)
+++ lld/trunk/lib/ReaderWriter/ELF/Hexagon/HexagonTargetHandler.cpp Mon Apr 13 20:10:19 2015
@@ -19,8 +19,7 @@ using namespace llvm::ELF;
using llvm::makeArrayRef;
HexagonTargetHandler::HexagonTargetHandler(HexagonLinkingContext &ctx)
- : _ctx(ctx), _runtimeFile(new HexagonRuntimeFile(ctx)),
- _targetLayout(new HexagonTargetLayout(ctx)),
+ : _ctx(ctx), _targetLayout(new HexagonTargetLayout(ctx)),
_relocationHandler(new HexagonTargetRelocationHandler(*_targetLayout)) {}
std::unique_ptr<Writer> HexagonTargetHandler::getWriter() {
Modified: lld/trunk/lib/ReaderWriter/ELF/Hexagon/HexagonTargetHandler.h
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/lib/ReaderWriter/ELF/Hexagon/HexagonTargetHandler.h?rev=234831&r1=234830&r2=234831&view=diff
==============================================================================
--- lld/trunk/lib/ReaderWriter/ELF/Hexagon/HexagonTargetHandler.h (original)
+++ lld/trunk/lib/ReaderWriter/ELF/Hexagon/HexagonTargetHandler.h Mon Apr 13 20:10:19 2015
@@ -132,7 +132,6 @@ public:
private:
HexagonLinkingContext &_ctx;
- std::unique_ptr<HexagonRuntimeFile> _runtimeFile;
std::unique_ptr<HexagonTargetLayout> _targetLayout;
std::unique_ptr<HexagonTargetRelocationHandler> _relocationHandler;
};
More information about the llvm-commits
mailing list