commit | 8e539488816c9e52bde0af475f72cd3e6407d558 | [log] [tgz] |
---|---|---|
author | Brian Gaeke <gaeke@uiuc.edu> | Thu Sep 04 22:57:27 2003 +0000 |
committer | Brian Gaeke <gaeke@uiuc.edu> | Thu Sep 04 22:57:27 2003 +0000 |
tree | 108a75c2f7b085877a9bfd59933e2b898b891025 | |
parent | f58815e161c8c91075dd1af7a277314190ebc286 [diff] [blame] |
Move EE dtor where it belongs git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8345 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/ExecutionEngine/ExecutionEngine.cpp b/lib/ExecutionEngine/ExecutionEngine.cpp index dbcaf63..a00c969 100644 --- a/lib/ExecutionEngine/ExecutionEngine.cpp +++ b/lib/ExecutionEngine/ExecutionEngine.cpp
@@ -20,6 +20,10 @@ Statistic<> NumInitBytes("lli", "Number of bytes of global vars initialized"); +ExecutionEngine::~ExecutionEngine() { + delete &CurMod; +} + ExecutionEngine *ExecutionEngine::create (Module *M, bool ForceInterpreter, bool TraceMode) { ExecutionEngine *EE = 0;