aboutsummaryrefslogtreecommitdiffstats
path: root/examples/Kaleidoscope/toy.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/Kaleidoscope/toy.cpp')
-rw-r--r--examples/Kaleidoscope/toy.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/Kaleidoscope/toy.cpp b/examples/Kaleidoscope/toy.cpp
index 4fd80a9363..abcd412f07 100644
--- a/examples/Kaleidoscope/toy.cpp
+++ b/examples/Kaleidoscope/toy.cpp
@@ -1103,7 +1103,7 @@ int main() {
TheModule = new Module("my cool jit", Context);
// Create the JIT.
- TheExecutionEngine = ExecutionEngine::create(TheModule);
+ TheExecutionEngine = EngineBuilder(TheModule).create();
{
ExistingModuleProvider OurModuleProvider(TheModule);
@@ -1138,4 +1138,3 @@ int main() {
return 0;
}
-