Add EngineBuilder to ExecutionEngine in favor of the five optional argument EE::create().
[oota-llvm.git] / docs / tutorial / LangImpl7.html
index 9424223fd777e19231b5cf69ff9a3146a83e458c..27a30f734393b5a09dd54032fa38e30145f00194 100644 (file)
@@ -2103,7 +2103,7 @@ int main() {
   TheModule = new Module("my cool jit", getGlobalContext());
   
   // Create the JIT.
-  TheExecutionEngine = ExecutionEngine::create(TheModule);
+  TheExecutionEngine = EngineBuilder(TheModule).create();
 
   {
     ExistingModuleProvider OurModuleProvider(TheModule);