Skip to content
Commit 915be26a authored by Richard Smith's avatar Richard Smith
Browse files

Avoid undefined behavior in DenseMap::shrink_and_clear(). Log2_32_Ceil(0)

returns 32. This change mirrors the corresponding code in
SmallDenseMap::shrink_and_clear().

llvm-svn: 161829
parent 1d4c3cfb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment