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