[JIT/Examples] Fix Fibonacci so that it runs again.
authorDavide Italiano <davide@freebsd.org>
Sat, 17 Oct 2015 06:36:46 +0000 (06:36 +0000)
committerDavide Italiano <davide@freebsd.org>
Sat, 17 Oct 2015 06:36:46 +0000 (06:36 +0000)
The old JIT is (long) gone.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@250604 91177308-0d34-0410-b5e6-96231b3b80d8

examples/Fibonacci/fibonacci.cpp

index a628cee53ff0f111e39e84d7ad9c66deeba097e8..bb364fda584f26e7610bf37bde101dd0a091af68 100644 (file)
@@ -106,7 +106,6 @@ int main(int argc, char **argv) {
   ExecutionEngine *EE =
     EngineBuilder(std::move(Owner))
     .setErrorStr(&errStr)
   ExecutionEngine *EE =
     EngineBuilder(std::move(Owner))
     .setErrorStr(&errStr)
-    .setEngineKind(EngineKind::JIT)
     .create();
 
   if (!EE) {
     .create();
 
   if (!EE) {