1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 11:33:24 +02:00

Fix incorrectly formed assert statement.

llvm-svn: 292537
This commit is contained in:
Zachary Turner 2017-01-19 23:41:11 +00:00
parent 3e925228cc
commit d89d0c7759

View File

@ -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;