Skip to content

Commit 82fdd55

Browse files
MaskRayyuxuanchen1997
authored andcommitted
MCAssembler: Remove unused functions
Summary: Test Plan: Reviewers: Subscribers: Tasks: Tags: Differential Revision: https://phabricator.intern.facebook.com/D60251421
1 parent 32e4807 commit 82fdd55

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

llvm/include/llvm/MC/MCAssembler.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,6 @@ class MCAssembler {
143143
std::unique_ptr<MCObjectWriter> Writer);
144144
MCAssembler(const MCAssembler &) = delete;
145145
MCAssembler &operator=(const MCAssembler &) = delete;
146-
~MCAssembler();
147146

148147
/// Compute the effective fragment size.
149148
uint64_t computeFragmentSize(const MCFragment &F) const;
@@ -193,7 +192,6 @@ class MCAssembler {
193192
MCObjectWriter &getWriter() const { return *Writer; }
194193

195194
MCDwarfLineTableParams getDWARFLinetableParams() const { return LTParams; }
196-
void setDWARFLinetableParams(MCDwarfLineTableParams P) { LTParams = P; }
197195

198196
/// Finish - Do final processing and write the object to the output stream.
199197
/// \p Writer is used for custom object writer (as the MCJIT does),

llvm/lib/MC/MCAssembler.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,6 @@ MCAssembler::MCAssembler(MCContext &Context,
8686
: Context(Context), Backend(std::move(Backend)),
8787
Emitter(std::move(Emitter)), Writer(std::move(Writer)) {}
8888

89-
MCAssembler::~MCAssembler() = default;
90-
9189
void MCAssembler::reset() {
9290
RelaxAll = false;
9391
Sections.clear();

0 commit comments

Comments
 (0)