From 154cb19e2f25d52b10cf5c5a4dfbab585e5f0bf6 Mon Sep 17 00:00:00 2001 From: Diego Novillo Date: Tue, 5 May 2015 18:24:47 +0000 Subject: [PATCH] Fix typo in assert message. NFC. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@236513 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Support/BranchProbability.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/llvm/Support/BranchProbability.h b/include/llvm/Support/BranchProbability.h index 9aab6ace6e3..a6429dd22a3 100644 --- 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 && "Denominator cannot be 0!"); assert(n <= d && "Probability cannot be bigger than 1!"); } -- 2.34.1