mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-20 12:31:40 +00:00
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
This commit is contained in:
parent
b09a3aa4bb
commit
a91a3e0489
@ -42,7 +42,7 @@ public:
|
|||||||
uint32_t getDenominator() const { return D; }
|
uint32_t getDenominator() const { return D; }
|
||||||
|
|
||||||
// Return (1 - Probability).
|
// Return (1 - Probability).
|
||||||
BranchProbability getCompl() {
|
BranchProbability getCompl() const {
|
||||||
return BranchProbability(D - N, D);
|
return BranchProbability(D - N, D);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user