r215156 - Temporarily Revert "Update for llvm API change."

Eric Christopher echristo at gmail.com
Thu Aug 7 15:09:08 PDT 2014


Author: echristo
Date: Thu Aug  7 17:09:08 2014
New Revision: 215156

URL: http://llvm.org/viewvc/llvm-project?rev=215156&view=rev
Log:
Temporarily Revert "Update for llvm API change."

This reverts commit 215113 to match the reversion in llvm.

Modified:
    cfe/trunk/examples/clang-interpreter/main.cpp

Modified: cfe/trunk/examples/clang-interpreter/main.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/examples/clang-interpreter/main.cpp?rev=215156&r1=215155&r2=215156&view=diff
==============================================================================
--- cfe/trunk/examples/clang-interpreter/main.cpp (original)
+++ cfe/trunk/examples/clang-interpreter/main.cpp Thu Aug  7 17:09:08 2014
@@ -45,6 +45,7 @@ std::string GetExecutablePath(const char
 static llvm::ExecutionEngine *createExecutionEngine(llvm::Module *M,
                                                     std::string *ErrorStr) {
   llvm::EngineBuilder EB = llvm::EngineBuilder(M)
+                               .setUseMCJIT(true)
                                .setEngineKind(llvm::EngineKind::Either)
                                .setErrorStr(ErrorStr);
   return EB.create();





More information about the cfe-commits mailing list