OSDN Git Service

[MachineOutliner][NFC] Move end index calculation into Candidate
authorJessica Paquette <jpaquette@apple.com>
Tue, 17 Oct 2017 18:43:15 +0000 (18:43 +0000)
committerJessica Paquette <jpaquette@apple.com>
Tue, 17 Oct 2017 18:43:15 +0000 (18:43 +0000)
commit6f0af489ee2ee144e62b7feccc25efd3f8d997d3
tree1e2e1a7eb46dba2dce40966d7094dd3a84bb519f
parenta1dafe0b863f4439c10936628f1839a1da40ec02
[MachineOutliner][NFC] Move end index calculation into Candidate

Cleanup to Candidate that moves all end index calculations into
Candidate.endIdx(). For the sake of consistency, StartIdx and Len are now
private members, and can be accessed with length() and startIdx() respectively.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@316019 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/MachineOutliner.cpp