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 | 12bc09c84348aaa693e3ce06f85cfc36413f65c1 (patch) | |
| tree | 8a7eb7a0dbf276c5646d60259879718972e974e0 | |
| parent | 4e48f3df161ccd77beb3b8933d75451ad1345b9c (diff) | |
| download | bcm5719-llvm-12bc09c84348aaa693e3ce06f85cfc36413f65c1.tar.gz bcm5719-llvm-12bc09c84348aaa693e3ce06f85cfc36413f65c1.zip | |
Fix class description.
llvm-svn: 135948
| -rw-r--r-- | llvm/include/llvm/Support/BranchProbability.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/include/llvm/Support/BranchProbability.h b/llvm/include/llvm/Support/BranchProbability.h index 2e81490ebf6..80da81b5597 100644 --- a/llvm/include/llvm/Support/BranchProbability.h +++ b/llvm/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); |

