Nuke the old JIT.
[oota-llvm.git] / examples / Kaleidoscope / MCJIT / initial / toy.cpp
index 4c4711338c47e744aef439b748d1ba02935f4607..2c1b2973af5876092e64c1cce4402d1c16a6d230 100644 (file)
@@ -778,7 +778,6 @@ void *MCJITHelper::getPointerToFunction(Function* F) {
     std::string ErrStr;
     ExecutionEngine *NewEngine = EngineBuilder(OpenModule)
                                               .setErrorStr(&ErrStr)
-                                              .setUseMCJIT(true)
                                               .setMCJITMemoryManager(new HelpingMemoryManager(this))
                                               .create();
     if (!NewEngine) {