Skip to content
Commit 782788b7 authored by Yaron Keren's avatar Yaron Keren
Browse files

Limit DenseMap::setNumEntries input to 1<<31, in accordance with the 31 bits...

Limit DenseMap::setNumEntries input to 1<<31, in accordance with the 31 bits allocated to NumEntries.
std::numeric_limits<int>::max() may be something else than 1<<31.

llvm-svn: 278602
parent 7079efe1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment