diff options
author | Jakub Staszak <jstaszak@apple.com> | 2011-07-25 20:08:58 +0000 |
---|---|---|
committer | Jakub Staszak <jstaszak@apple.com> | 2011-07-25 20:08:58 +0000 |
commit | 2ecdd724538d33af61685fb933f19624f2089ae4 (patch) | |
tree | f7ca99fc617716aa7ddc6ab0c6478020706b2593 | |
parent | 14a73679c356994bf81e57f7f22880c15a2d7760 (diff) | |
download | external_llvm-2ecdd724538d33af61685fb933f19624f2089ae4.zip external_llvm-2ecdd724538d33af61685fb933f19624f2089ae4.tar.gz external_llvm-2ecdd724538d33af61685fb933f19624f2089ae4.tar.bz2 |
Fix class description.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135948 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/llvm/Support/BranchProbability.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/Support/BranchProbability.h b/include/llvm/Support/BranchProbability.h index 2e81490..80da81b 100644 --- a/include/llvm/Support/BranchProbability.h +++ b/include/llvm/Support/BranchProbability.h @@ -1,4 +1,4 @@ -//===- BranchProbability.h - Branch Probability Analysis --------*- C++ -*-===// +//===- BranchProbability.h - Branch Probability Wrapper ---------*- C++ -*-===// // // The LLVM Compiler Infrastructure // @@ -34,7 +34,7 @@ public: uint32_t getNumerator() const { return N; } uint32_t getDenominator() const { return D; } - + // Return (1 - Probability). BranchProbability getCompl() { return BranchProbability(D - N, D); |