mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 03:02:36 +01:00
[MC] Make MCFragment trivially destructible
This commit is contained in:
parent
8a733b9297
commit
354bd3aec9
@ -80,8 +80,6 @@ protected:
|
||||
MCFragment(FragmentType Kind, bool HasInstructions,
|
||||
MCSection *Parent = nullptr);
|
||||
|
||||
~MCFragment();
|
||||
|
||||
public:
|
||||
MCFragment() = delete;
|
||||
MCFragment(const MCFragment &) = delete;
|
||||
|
@ -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),
|
||||
|
Loading…
Reference in New Issue
Block a user