mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-24 23:28:41 +00:00
simplify creation of the interpreter, make ExecutionEngine ctor protected,
delete one ExecutionEngine ctor, minor cleanup. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44646 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -39,12 +39,6 @@ ExecutionEngine::ExecutionEngine(ModuleProvider *P) : LazyFunctionCreator(0) {
|
||||
assert(P && "ModuleProvider is null?");
|
||||
}
|
||||
|
||||
ExecutionEngine::ExecutionEngine(Module *M) : LazyFunctionCreator(0) {
|
||||
LazyCompilationDisabled = false;
|
||||
assert(M && "Module is null?");
|
||||
Modules.push_back(new ExistingModuleProvider(M));
|
||||
}
|
||||
|
||||
ExecutionEngine::~ExecutionEngine() {
|
||||
clearAllGlobalMappings();
|
||||
for (unsigned i = 0, e = Modules.size(); i != e; ++i)
|
||||
|
Reference in New Issue
Block a user