diff options
author | Matthias Braun <matze@braunis.de> | 2016-01-28 04:49:14 +0000 |
---|---|---|
committer | Matthias Braun <matze@braunis.de> | 2016-01-28 04:49:14 +0000 |
commit | 569f2070185a31a1a36c9c6075ff4eced23bac47 (patch) | |
tree | f90517bda68ecbbe471947d8389fa77cd1dabf37 /llvm/lib/Support/SmallPtrSet.cpp | |
parent | 924f080529d57f5b4a7e76347bc4e14a5dbaa328 (diff) | |
download | bcm5719-llvm-569f2070185a31a1a36c9c6075ff4eced23bac47.tar.gz bcm5719-llvm-569f2070185a31a1a36c9c6075ff4eced23bac47.zip |
SmallPtrSet: Make destructor available for inlining
llvm-svn: 259019
Diffstat (limited to 'llvm/lib/Support/SmallPtrSet.cpp')
-rw-r--r-- | llvm/lib/Support/SmallPtrSet.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/llvm/lib/Support/SmallPtrSet.cpp b/llvm/lib/Support/SmallPtrSet.cpp index 3717f62150f..3c8033f8d55 100644 --- a/llvm/lib/Support/SmallPtrSet.cpp +++ b/llvm/lib/Support/SmallPtrSet.cpp @@ -296,8 +296,3 @@ void SmallPtrSetImplBase::swap(SmallPtrSetImplBase &RHS) { RHS.SmallArray); std::swap(this->NumElements, RHS.NumElements); } - -SmallPtrSetImplBase::~SmallPtrSetImplBase() { - if (!isSmall()) - free(CurArray); -} |