diff options
| author | Jessica Paquette <jpaquette@apple.com> | 2017-09-28 23:39:36 +0000 |
|---|---|---|
| committer | Jessica Paquette <jpaquette@apple.com> | 2017-09-28 23:39:36 +0000 |
| commit | 919991690c32345a9e42fcf2aebe17c36f59a492 (patch) | |
| tree | 301741d4466653bbe412372fa1d5ed3250b19af4 /llvm/lib/DebugInfo/CodeView | |
| parent | 6255c7b6755acc5d4f38dea359fcbeba13fa776f (diff) | |
| download | bcm5719-llvm-919991690c32345a9e42fcf2aebe17c36f59a492.tar.gz bcm5719-llvm-919991690c32345a9e42fcf2aebe17c36f59a492.zip | |
[MachineOutliner][NFC] Simplify logic in pruneCandidates
This commit yanks out the repeated sections of code in pruneCandidates into
two lambdas: ShouldSkipCandidate and Prune. This simplifies the logic in
pruneCandidates significantly, and reduces the chance of introducing bugs by
folding all of the shared logic into one place.
llvm-svn: 314475
Diffstat (limited to 'llvm/lib/DebugInfo/CodeView')
0 files changed, 0 insertions, 0 deletions

