diff options
Diffstat (limited to 'llvm/docs/tutorial')
| -rw-r--r-- | llvm/docs/tutorial/LangImpl4.html | 4 | ||||
| -rw-r--r-- | llvm/docs/tutorial/LangImpl5.html | 2 | ||||
| -rw-r--r-- | llvm/docs/tutorial/LangImpl6.html | 2 | ||||
| -rw-r--r-- | llvm/docs/tutorial/LangImpl7.html | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/llvm/docs/tutorial/LangImpl4.html b/llvm/docs/tutorial/LangImpl4.html index ca5968273e1..41f3a2cd85e 100644 --- a/llvm/docs/tutorial/LangImpl4.html +++ b/llvm/docs/tutorial/LangImpl4.html @@ -299,7 +299,7 @@ by adding a global variable and a call in <tt>main</tt>:</p> int main() { .. <b>// Create the JIT. - TheExecutionEngine = ExecutionEngine::create(TheModule);</b> + TheExecutionEngine = EngineBuilder(TheModule).create();</b> .. } </pre> @@ -1078,7 +1078,7 @@ int main() { TheModule = new Module("my cool jit", getGlobalContext()); // Create the JIT. - TheExecutionEngine = ExecutionEngine::create(TheModule); + TheExecutionEngine = EngineBuilder(TheModule).create(); { ExistingModuleProvider OurModuleProvider(TheModule); diff --git a/llvm/docs/tutorial/LangImpl5.html b/llvm/docs/tutorial/LangImpl5.html index cad05f70454..5f50cb28c5b 100644 --- a/llvm/docs/tutorial/LangImpl5.html +++ b/llvm/docs/tutorial/LangImpl5.html @@ -1712,7 +1712,7 @@ int main() { TheModule = new Module("my cool jit", getGlobalContext()); // Create the JIT. - TheExecutionEngine = ExecutionEngine::create(TheModule); + TheExecutionEngine = EngineBuilder(TheModule).create(); { ExistingModuleProvider OurModuleProvider(TheModule); diff --git a/llvm/docs/tutorial/LangImpl6.html b/llvm/docs/tutorial/LangImpl6.html index b10a15f6353..9fffb53398b 100644 --- a/llvm/docs/tutorial/LangImpl6.html +++ b/llvm/docs/tutorial/LangImpl6.html @@ -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); diff --git a/llvm/docs/tutorial/LangImpl7.html b/llvm/docs/tutorial/LangImpl7.html index 9424223fd77..27a30f73439 100644 --- a/llvm/docs/tutorial/LangImpl7.html +++ b/llvm/docs/tutorial/LangImpl7.html @@ -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); |

