[llvm] r236513 - Fix typo in assert message. NFC.

Diego Novillo dnovillo at google.com
Tue May 5 11:24:48 PDT 2015


Author: dnovillo
Date: Tue May  5 13:24:47 2015
New Revision: 236513

URL: http://llvm.org/viewvc/llvm-project?rev=236513&view=rev
Log:
Fix typo in assert message. NFC.

Modified:
    llvm/trunk/include/llvm/Support/BranchProbability.h

Modified: llvm/trunk/include/llvm/Support/BranchProbability.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Support/BranchProbability.h?rev=236513&r1=236512&r2=236513&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Support/BranchProbability.h (original)
+++ llvm/trunk/include/llvm/Support/BranchProbability.h Tue May  5 13:24:47 2015
@@ -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!");
   }
 





More information about the llvm-commits mailing list