diff --git a/lib/ExecutionEngine/ExecutionEngine.cpp b/lib/ExecutionEngine/ExecutionEngine.cpp index f61369cd505..9b50669777d 100644 --- a/lib/ExecutionEngine/ExecutionEngine.cpp +++ b/lib/ExecutionEngine/ExecutionEngine.cpp @@ -36,11 +36,13 @@ ExecutionEngine::EECtorFn ExecutionEngine::JITCtor = 0; ExecutionEngine::EECtorFn ExecutionEngine::InterpCtor = 0; ExecutionEngine::ExecutionEngine(ModuleProvider *P) { + LazyCompilationDisabled = false; Modules.push_back(P); assert(P && "ModuleProvider is null?"); } ExecutionEngine::ExecutionEngine(Module *M) { + LazyCompilationDisabled = false; assert(M && "Module is null?"); Modules.push_back(new ExistingModuleProvider(M)); }