diff --git a/lib/Transforms/IPO/SimplifyLibCalls.cpp b/lib/Transforms/IPO/SimplifyLibCalls.cpp index 683cf23e840..d07696b49d0 100644 --- a/lib/Transforms/IPO/SimplifyLibCalls.cpp +++ b/lib/Transforms/IPO/SimplifyLibCalls.cpp @@ -104,10 +104,7 @@ namespace { } /// Make sure we get our virtual table in this file. - CallOptimizer::~CallOptimizer() - { - optlist.clear(); - } + CallOptimizer::~CallOptimizer() { } } ModulePass *llvm::createSimplifyLibCallsPass()