Fix a limitation of SmallPtrSet. Before it would assert if the smallsize
authorChris Lattner <sabre@nondot.org>
Sat, 27 Jan 2007 07:52:27 +0000 (07:52 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 27 Jan 2007 07:52:27 +0000 (07:52 +0000)
commitaf3056c97e56106af7c3b9a5c856d1dc1d21e358
tree69a775bef848cdd39cf84756633e9ed21e6c1294
parent18b69106b7a66ac6abde37d1be6d0d952796ed04
Fix a limitation of SmallPtrSet.  Before it would assert if the smallsize
was not a power of two.  Now it rounds up to the next power of two internally.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33580 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/ADT/SmallPtrSet.h