summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2017-01-19 23:41:11 +0000
committerZachary Turner <zturner@google.com>2017-01-19 23:41:11 +0000
commitd54deaee6c6b5666dde3cdeba9d64323887a284e (patch)
tree3c3c40b103f2f8a668bd4e5d381cc816712aa3d9
parent853e3337db43ff8bb067cb70e19b904387efe1a7 (diff)
downloadbcm5719-llvm-d54deaee6c6b5666dde3cdeba9d64323887a284e.tar.gz
bcm5719-llvm-d54deaee6c6b5666dde3cdeba9d64323887a284e.zip
Fix incorrectly formed assert statement.
llvm-svn: 292537
-rw-r--r--llvm/lib/DebugInfo/PDB/Raw/HashTable.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/DebugInfo/PDB/Raw/HashTable.cpp b/llvm/lib/DebugInfo/PDB/Raw/HashTable.cpp
index cc83174a4d8..68dbbd08853 100644
--- a/llvm/lib/DebugInfo/PDB/Raw/HashTable.cpp
+++ b/llvm/lib/DebugInfo/PDB/Raw/HashTable.cpp
@@ -181,7 +181,7 @@ void HashTable::grow() {
uint32_t S = size();
if (S < maxLoad(capacity()))
return;
- assert(capacity() != UINT32_MAX, "Can't grow Hash table!");
+ assert(capacity() != UINT32_MAX && "Can't grow Hash table!");
uint32_t NewCapacity =
(capacity() <= INT32_MAX) ? capacity() * 2 : UINT32_MAX;
OpenPOWER on IntegriCloud