diff --git a/llvm/include/llvm/MC/TargetRegistry.h b/llvm/include/llvm/MC/TargetRegistry.h index 033334cfb8ae..fd5c2acdd5da 100644 --- a/llvm/include/llvm/MC/TargetRegistry.h +++ b/llvm/include/llvm/MC/TargetRegistry.h @@ -549,25 +549,12 @@ public: std::unique_ptr OW, std::unique_ptr Emitter, const MCSubtargetInfo &STI) const; - LLVM_DEPRECATED("Use the overload without the 3 trailing bool", "") - MCStreamer *createMCObjectStreamer(const Triple &T, MCContext &Ctx, - std::unique_ptr &&TAB, - std::unique_ptr &&OW, - std::unique_ptr &&Emitter, - const MCSubtargetInfo &STI, bool, bool, - bool) const; MCStreamer *createAsmStreamer(MCContext &Ctx, std::unique_ptr OS, MCInstPrinter *IP, std::unique_ptr CE, std::unique_ptr TAB) const; - LLVM_DEPRECATED("Use the overload without the 3 unused bool", "") - MCStreamer * - createAsmStreamer(MCContext &Ctx, std::unique_ptr OS, - bool IsVerboseAsm, bool UseDwarfDirectory, - MCInstPrinter *IP, std::unique_ptr &&CE, - std::unique_ptr &&TAB, bool ShowInst) const; MCTargetStreamer *createAsmTargetStreamer(MCStreamer &S, formatted_raw_ostream &OS, diff --git a/llvm/lib/MC/TargetRegistry.cpp b/llvm/lib/MC/TargetRegistry.cpp index ec1c5a91d272..ca6ee76f5eb7 100644 --- a/llvm/lib/MC/TargetRegistry.cpp +++ b/llvm/lib/MC/TargetRegistry.cpp @@ -77,15 +77,6 @@ MCStreamer *Target::createMCObjectStreamer( return S; } -MCStreamer *Target::createMCObjectStreamer( - const Triple &T, MCContext &Ctx, std::unique_ptr &&TAB, - std::unique_ptr &&OW, - std::unique_ptr &&Emitter, const MCSubtargetInfo &STI, bool, - bool, bool) const { - return createMCObjectStreamer(T, Ctx, std::move(TAB), std::move(OW), - std::move(Emitter), STI); -} - MCStreamer *Target::createAsmStreamer(MCContext &Ctx, std::unique_ptr OS, MCInstPrinter *IP, @@ -104,17 +95,6 @@ MCStreamer *Target::createAsmStreamer(MCContext &Ctx, return S; } -MCStreamer *Target::createAsmStreamer(MCContext &Ctx, - std::unique_ptr OS, - bool IsVerboseAsm, bool UseDwarfDirectory, - MCInstPrinter *IP, - std::unique_ptr &&CE, - std::unique_ptr &&TAB, - bool ShowInst) const { - return createAsmStreamer(Ctx, std::move(OS), IP, std::move(CE), - std::move(TAB)); -} - iterator_range TargetRegistry::targets() { return make_range(iterator(FirstTarget), iterator()); }