[MachineOutliner][NFC] Candidates don't need to be shared_ptrs anymore
authorJessica Paquette <jpaquette@apple.com>
Wed, 5 Dec 2018 23:24:22 +0000 (23:24 +0000)
committerJessica Paquette <jpaquette@apple.com>
Wed, 5 Dec 2018 23:24:22 +0000 (23:24 +0000)
commite18d6ff036fe8d62e19d9dc44f103c3d7ead9c64
treeeeb296c7f2240dd1751f64f1c184c1cd467023e4
parent5ff7b8a04aa720456a36355f6ae20912cb2fcd86
[MachineOutliner][NFC] Candidates don't need to be shared_ptrs anymore

More refactoring.

After the changes to the pruning logic, and removing CandidateList, there's
no reason for Candiates to be shared_ptrs (or pointers at all).

std::shared_ptr<Candidate> -> Candidate.

llvm-svn: 348427
llvm/include/llvm/CodeGen/MachineOutliner.h
llvm/lib/CodeGen/MachineOutliner.cpp