aboutsummaryrefslogtreecommitdiff
path: root/lib/VMCore/LLVMContextImpl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/VMCore/LLVMContextImpl.cpp')
-rw-r--r--lib/VMCore/LLVMContextImpl.cpp16
1 files changed, 0 insertions, 16 deletions
diff --git a/lib/VMCore/LLVMContextImpl.cpp b/lib/VMCore/LLVMContextImpl.cpp
index 2b6bb39167..504b37267f 100644
--- a/lib/VMCore/LLVMContextImpl.cpp
+++ b/lib/VMCore/LLVMContextImpl.cpp
@@ -91,20 +91,4 @@ LLVMContextImpl::~LLVMContextImpl() {
"Destroying all MDNodes didn't empty the Context's sets.");
// Destroy MDStrings.
DeleteContainerSeconds(MDStringCache);
-
- // Destroy types.
- DeleteContainerSeconds(IntegerTypes);
- DeleteContainerSeconds(FunctionTypes);
- DeleteContainerSeconds(AnonStructTypes);
- DeleteContainerSeconds(ArrayTypes);
- DeleteContainerSeconds(VectorTypes);
- DeleteContainerSeconds(PointerTypes);
- DeleteContainerSeconds(ASPointerTypes);
-
- for (StringMap<StructType *>::iterator I = NamedStructTypes.begin(),
- E = NamedStructTypes.end(); I != E; ++I)
- delete I->getValue();
- for (SmallPtrSet<StructType*, 16>::iterator I = EmptyNamedStructTypes.begin(),
- E = EmptyNamedStructTypes.end(); I != E; ++I)
- delete *I;
}