[llvm] r240055 - [Hexagon] Fixing unused field copypasta.

Colin LeMahieu colinl at codeaurora.org
Thu Jun 18 14:03:13 PDT 2015


Author: colinl
Date: Thu Jun 18 16:03:13 2015
New Revision: 240055

URL: http://llvm.org/viewvc/llvm-project?rev=240055&view=rev
Log:
[Hexagon] Fixing unused field copypasta.

Modified:
    llvm/trunk/lib/Target/Hexagon/MCTargetDesc/HexagonMCTargetDesc.cpp

Modified: llvm/trunk/lib/Target/Hexagon/MCTargetDesc/HexagonMCTargetDesc.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Hexagon/MCTargetDesc/HexagonMCTargetDesc.cpp?rev=240055&r1=240054&r2=240055&view=diff
==============================================================================
--- llvm/trunk/lib/Target/Hexagon/MCTargetDesc/HexagonMCTargetDesc.cpp (original)
+++ llvm/trunk/lib/Target/Hexagon/MCTargetDesc/HexagonMCTargetDesc.cpp Thu Jun 18 16:03:13 2015
@@ -61,17 +61,11 @@ createHexagonMCSubtargetInfo(const Tripl
 
 namespace {
 class HexagonTargetAsmStreamer : public HexagonTargetStreamer {
-  MCContext &Ctx;
-  formatted_raw_ostream &OS;
-  bool isVerboseAsm;
-  MCInstPrinter &IP;
 public:
   HexagonTargetAsmStreamer(MCStreamer &S,
-                           formatted_raw_ostream &OS, bool isVerboseAsm,
-                           MCInstPrinter &IP)
-      : HexagonTargetStreamer(S), Ctx(Ctx), OS(OS), isVerboseAsm(isVerboseAsm),
-        IP(IP) {}
-  MCStreamer &getStreamer() { return Streamer; }
+                           formatted_raw_ostream &, bool,
+                           MCInstPrinter &)
+      : HexagonTargetStreamer(S) {}
   void prettyPrintAsm(MCInstPrinter &InstPrinter, raw_ostream &OS,
                       const MCInst &Inst, const MCSubtargetInfo &STI) override {
     assert(HexagonMCInstrInfo::isBundle(Inst));





More information about the llvm-commits mailing list