diff options
Diffstat (limited to 'docs/tutorial/LangImpl4.html')
-rw-r--r-- | docs/tutorial/LangImpl4.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/tutorial/LangImpl4.html b/docs/tutorial/LangImpl4.html index ca59682..41f3a2c 100644 --- a/docs/tutorial/LangImpl4.html +++ b/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); |