[llvm] r255939 - Remove unused class variables.

Eric Christopher via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 17 15:43:40 PST 2015


Author: echristo
Date: Thu Dec 17 17:43:40 2015
New Revision: 255939

URL: http://llvm.org/viewvc/llvm-project?rev=255939&view=rev
Log:
Remove unused class variables.

Modified:
    llvm/trunk/lib/Target/WebAssembly/MCTargetDesc/WebAssemblyMCCodeEmitter.cpp

Modified: llvm/trunk/lib/Target/WebAssembly/MCTargetDesc/WebAssemblyMCCodeEmitter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/WebAssembly/MCTargetDesc/WebAssemblyMCCodeEmitter.cpp?rev=255939&r1=255938&r2=255939&view=diff
==============================================================================
--- llvm/trunk/lib/Target/WebAssembly/MCTargetDesc/WebAssemblyMCCodeEmitter.cpp (original)
+++ llvm/trunk/lib/Target/WebAssembly/MCTargetDesc/WebAssemblyMCCodeEmitter.cpp Thu Dec 17 17:43:40 2015
@@ -28,14 +28,12 @@ using namespace llvm;
 
 namespace {
 class WebAssemblyMCCodeEmitter final : public MCCodeEmitter {
-  const MCInstrInfo &MCII;
   const MCRegisterInfo &MRI;
-  const MCContext &Ctx;
 
 public:
-  WebAssemblyMCCodeEmitter(const MCInstrInfo &mcii, const MCRegisterInfo &mri,
-                           MCContext &ctx)
-      : MCII(mcii), MRI(mri), Ctx(ctx) {}
+  WebAssemblyMCCodeEmitter(const MCInstrInfo &, const MCRegisterInfo &mri,
+                           MCContext &)
+      : MRI(mri) {}
 
   ~WebAssemblyMCCodeEmitter() override {}
 




More information about the llvm-commits mailing list