[llvm] r227817 - Remove unused class variable.
Eric Christopher
echristo at gmail.com
Mon Feb 2 09:52:23 PST 2015
Author: echristo
Date: Mon Feb 2 11:52:23 2015
New Revision: 227817
URL: http://llvm.org/viewvc/llvm-project?rev=227817&view=rev
Log:
Remove unused class variable.
Modified:
llvm/trunk/lib/Target/XCore/XCoreAsmPrinter.cpp
Modified: llvm/trunk/lib/Target/XCore/XCoreAsmPrinter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/XCore/XCoreAsmPrinter.cpp?rev=227817&r1=227816&r2=227817&view=diff
==============================================================================
--- llvm/trunk/lib/Target/XCore/XCoreAsmPrinter.cpp (original)
+++ llvm/trunk/lib/Target/XCore/XCoreAsmPrinter.cpp Mon Feb 2 11:52:23 2015
@@ -50,15 +50,13 @@ using namespace llvm;
namespace {
class XCoreAsmPrinter : public AsmPrinter {
- const XCoreSubtarget &Subtarget;
XCoreMCInstLower MCInstLowering;
XCoreTargetStreamer &getTargetStreamer();
public:
explicit XCoreAsmPrinter(TargetMachine &TM,
std::unique_ptr<MCStreamer> Streamer)
- : AsmPrinter(TM, std::move(Streamer)),
- Subtarget(TM.getSubtarget<XCoreSubtarget>()), MCInstLowering(*this) {}
+ : AsmPrinter(TM, std::move(Streamer)), MCInstLowering(*this) {}
const char *getPassName() const override {
return "XCore Assembly Printer";
More information about the llvm-commits
mailing list