1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 11:02:59 +02:00

[MC] Make MCFragment trivially destructible

This commit is contained in:
Fangrui Song 2019-11-11 18:11:15 -08:00
parent 8a733b9297
commit 354bd3aec9
2 changed files with 0 additions and 4 deletions

View File

@ -80,8 +80,6 @@ protected:
MCFragment(FragmentType Kind, bool HasInstructions,
MCSection *Parent = nullptr);
~MCFragment();
public:
MCFragment() = delete;
MCFragment(const MCFragment &) = delete;

View File

@ -232,8 +232,6 @@ uint64_t llvm::computeBundlePadding(const MCAssembler &Assembler,
void ilist_alloc_traits<MCFragment>::deleteNode(MCFragment *V) { V->destroy(); }
MCFragment::~MCFragment() = default;
MCFragment::MCFragment(FragmentType Kind, bool HasInstructions,
MCSection *Parent)
: Kind(Kind), HasInstructions(HasInstructions), LayoutOrder(0),