summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/SmallPtrSet.cpp
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2016-01-28 04:49:14 +0000
committerMatthias Braun <matze@braunis.de>2016-01-28 04:49:14 +0000
commit569f2070185a31a1a36c9c6075ff4eced23bac47 (patch)
treef90517bda68ecbbe471947d8389fa77cd1dabf37 /llvm/lib/Support/SmallPtrSet.cpp
parent924f080529d57f5b4a7e76347bc4e14a5dbaa328 (diff)
downloadbcm5719-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.cpp5
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);
-}
OpenPOWER on IntegriCloud