From 4b1511b027ce0b648b3379f2891816c25b46f515 Mon Sep 17 00:00:00 2001
From: Reid Kleckner
Date: Sat, 18 Jul 2009 00:42:18 +0000
Subject: Add EngineBuilder to ExecutionEngine in favor of the five optional
argument EE::create().
Also a test commit.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76276 91177308-0d34-0410-b5e6-96231b3b80d8
---
docs/CMake.html | 2 +-
docs/tutorial/LangImpl4.html | 4 ++--
docs/tutorial/LangImpl5.html | 2 +-
docs/tutorial/LangImpl6.html | 2 +-
docs/tutorial/LangImpl7.html | 2 +-
5 files changed, 6 insertions(+), 6 deletions(-)
(limited to 'docs')
diff --git a/docs/CMake.html b/docs/CMake.html
index 1f50d39..2d4f4ef 100644
--- a/docs/CMake.html
+++ b/docs/CMake.html
@@ -352,7 +352,7 @@
to your linker options. This is required for adding the relevant
LLVM object code to the executable. Not doing this will result on
- some methods returning NULL (ExecutionEngine::create, for
+ some methods returning NULL (EngineBuilder::create, for
instance).
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 main:
int main() {
..
// Create the JIT.
- TheExecutionEngine = ExecutionEngine::create(TheModule);
+ TheExecutionEngine = EngineBuilder(TheModule).create();
..
}
@@ -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/docs/tutorial/LangImpl5.html b/docs/tutorial/LangImpl5.html
index cad05f7..5f50cb2 100644
--- a/docs/tutorial/LangImpl5.html
+++ b/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/docs/tutorial/LangImpl6.html b/docs/tutorial/LangImpl6.html
index b10a15f..9fffb53 100644
--- a/docs/tutorial/LangImpl6.html
+++ b/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/docs/tutorial/LangImpl7.html b/docs/tutorial/LangImpl7.html
index 9424223..27a30f7 100644
--- a/docs/tutorial/LangImpl7.html
+++ b/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);
--
cgit v1.1