fix crash in SmallDenseMap copy constructor
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Tue, 25 Feb 2014 23:35:13 +0000 (23:35 +0000)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Tue, 25 Feb 2014 23:35:13 +0000 (23:35 +0000)
commite8aeccef15b7ff0532c1bb5e334dc1e86383dd80
tree390294b40d7d741f79adb42057003e67f4f3db48
parent356deb5ecde78fdef706e325325c23c828666b9f
fix crash in SmallDenseMap copy constructor

Prevent a crash in the SmallDenseMap copy constructor whenever the other
map is not in small mode.

<rdar://problem/14292693>

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@202206 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/ADT/DenseMap.h
unittests/ADT/DenseMapTest.cpp