Two changes:
authorChris Lattner <sabre@nondot.org>
Thu, 21 Jun 2007 23:23:32 +0000 (23:23 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 21 Jun 2007 23:23:32 +0000 (23:23 +0000)
commit61766cae0b635f6a65d4491aa063c5fc12745566
treeff4c787815f61cbe8524d85e56993e3a75ade422
parent25e681ac221e83a7ebead99b4d3d88f1b3ab49bd
Two changes:
 1. Make SmallPtrSet::erase faster in the small case by replacing a memmove
    with a pointer copy.
 2. Fix a bug where the null terminator at the end of the array in the small
    case was not copied

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37696 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Support/SmallPtrSet.cpp