From 569f2070185a31a1a36c9c6075ff4eced23bac47 Mon Sep 17 00:00:00 2001 From: Matthias Braun Date: Thu, 28 Jan 2016 04:49:14 +0000 Subject: SmallPtrSet: Make destructor available for inlining llvm-svn: 259019 --- llvm/lib/Support/SmallPtrSet.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'llvm/lib/Support/SmallPtrSet.cpp') 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); -} -- cgit v1.2.3