diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2010-04-04 18:00:21 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2010-04-04 18:00:21 +0000 |
commit | bbef815a3beeba3161cdad8e1cc108644bfc5ddc (patch) | |
tree | 1ca0570619b297f0b4105e57deb7a1b9f80dfa5c /include | |
parent | e00b59f954c7e27d9d34abf90bfac969fb12f19a (diff) | |
download | external_llvm-bbef815a3beeba3161cdad8e1cc108644bfc5ddc.zip external_llvm-bbef815a3beeba3161cdad8e1cc108644bfc5ddc.tar.gz external_llvm-bbef815a3beeba3161cdad8e1cc108644bfc5ddc.tar.bz2 |
Switch SSEDomainFix to SpecificBumpPtrAllocator.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100332 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Support/Allocator.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Support/Allocator.h b/include/llvm/Support/Allocator.h index eb6c2d1..148d47e 100644 --- a/include/llvm/Support/Allocator.h +++ b/include/llvm/Support/Allocator.h @@ -202,7 +202,7 @@ public: (char *)Slab + Slab->Size; for (char *Ptr = (char*)(Slab+1); Ptr < End; Ptr += sizeof(T)) { Ptr = Allocator.AlignPtr(Ptr, alignof<T>()); - if (Ptr + sizeof(T) <= End) + if (Ptr + sizeof(T) <= End) reinterpret_cast<T*>(Ptr)->~T(); } Slab = Slab->NextPtr; |