projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4e3748c
)
Fix typo in assert message. NFC.
author
Diego Novillo
<dnovillo@google.com>
Tue, 5 May 2015 18:24:47 +0000
(18:24 +0000)
committer
Diego Novillo
<dnovillo@google.com>
Tue, 5 May 2015 18:24:47 +0000
(18:24 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@236513
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/Support/BranchProbability.h
patch
|
blob
|
history
diff --git
a/include/llvm/Support/BranchProbability.h
b/include/llvm/Support/BranchProbability.h
index 9aab6ace6e3f0e249ec027157a72d56eea81bf3d..a6429dd22a3b7ce6e82a8875280049d0ac20fb53 100644
(file)
--- a/
include/llvm/Support/BranchProbability.h
+++ b/
include/llvm/Support/BranchProbability.h
@@
-31,7
+31,7
@@
class BranchProbability {
public:
BranchProbability(uint32_t n, uint32_t d) : N(n), D(d) {
- assert(d > 0 && "Denomiator cannot be 0!");
+ assert(d > 0 && "Denomi
n
ator cannot be 0!");
assert(n <= d && "Probability cannot be bigger than 1!");
}