diff --git a/llvm/include/llvm/MC/MCObjectStreamer.h b/llvm/include/llvm/MC/MCObjectStreamer.h index 3511c4c60fec..58c18af40615 100644 --- a/llvm/include/llvm/MC/MCObjectStreamer.h +++ b/llvm/include/llvm/MC/MCObjectStreamer.h @@ -125,7 +125,7 @@ public: /// Emit an instruction to a special fragment, because this instruction /// can change its size during relaxation. - virtual void emitInstToFragment(const MCInst &Inst, const MCSubtargetInfo &); + void emitInstToFragment(const MCInst &Inst, const MCSubtargetInfo &); void emitBundleAlignMode(Align Alignment) override; void emitBundleLock(bool AlignToEnd) override;