llvm.org GIT mirror llvm / a91a3e0
Make an obviously const interface actually be marked as const. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@145009 91177308-0d34-0410-b5e6-96231b3b80d8 Chandler Carruth 8 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
4141 uint32_t getDenominator() const { return D; }
4242
4343 // Return (1 - Probability).
44 BranchProbability getCompl() {
44 BranchProbability getCompl() const {
4545 return BranchProbability(D - N, D);
4646 }
4747