Fix typo in assert message. NFC.
authorDiego Novillo <dnovillo@google.com>
Tue, 5 May 2015 18:24:47 +0000 (18:24 +0000)
committerDiego 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

index 9aab6ace6e3f0e249ec027157a72d56eea81bf3d..a6429dd22a3b7ce6e82a8875280049d0ac20fb53 100644 (file)
@@ -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 && "Denominator cannot be 0!");
     assert(n <= d && "Probability cannot be bigger than 1!");
   }