diff --git a/lib/Target/WebAssembly/MCTargetDesc/WebAssemblyMCCodeEmitter.cpp b/lib/Target/WebAssembly/MCTargetDesc/WebAssemblyMCCodeEmitter.cpp index 9d6f427b40e..7c6c79eb5db 100644 --- a/lib/Target/WebAssembly/MCTargetDesc/WebAssemblyMCCodeEmitter.cpp +++ b/lib/Target/WebAssembly/MCTargetDesc/WebAssemblyMCCodeEmitter.cpp @@ -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 {}