The code model of JIT should default to JITDefault.
authorNicolas Geoffray <nicolas.geoffray@lip6.fr>
Tue, 30 Aug 2011 19:50:33 +0000 (19:50 +0000)
committerNicolas Geoffray <nicolas.geoffray@lip6.fr>
Tue, 30 Aug 2011 19:50:33 +0000 (19:50 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138819 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/ExecutionEngine/ExecutionEngine.h

index 6f60635d565413933401627040080ba2e848957f..7a8b9ee7a82971ac646314cdcf21aefe9af4e0b6 100644 (file)
@@ -204,7 +204,7 @@ public:
                                     bool GVsWithCode = true,
                                     Reloc::Model RM = Reloc::Default,
                                     CodeModel::Model CMM =
-                                      CodeModel::Default);
+                                      CodeModel::JITDefault);
 
   /// addModule - Add a Module to the list of modules that we can JIT from.
   /// Note that this takes ownership of the Module: when the ExecutionEngine is