mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-13 15:37:24 +00:00
Move EE dtor where it belongs
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8345 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f58815e161
commit
8e53948881
@ -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;
|
||||
|
@ -33,14 +33,6 @@ namespace {
|
||||
cl::init(false));
|
||||
}
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
// ExecutionEngine Class Implementation
|
||||
//
|
||||
|
||||
ExecutionEngine::~ExecutionEngine() {
|
||||
delete &CurMod;
|
||||
}
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
// main Driver function
|
||||
//
|
||||
|
Loading…
x
Reference in New Issue
Block a user