projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Temporarily Revert "Nuke the old JIT." as it's not quite ready to
[oota-llvm.git]
/
examples
/
Kaleidoscope
/
MCJIT
/
cached
/
toy.cpp
diff --git
a/examples/Kaleidoscope/MCJIT/cached/toy.cpp
b/examples/Kaleidoscope/MCJIT/cached/toy.cpp
index af51b4a8314cc03119fb26b823c510fa85432c65..16c548c9806444649621d9d5b0b6800101c33013 100644
(file)
--- a/
examples/Kaleidoscope/MCJIT/cached/toy.cpp
+++ b/
examples/Kaleidoscope/MCJIT/cached/toy.cpp
@@
-897,6
+897,7
@@
ExecutionEngine *MCJITHelper::compileModule(Module *M) {
std::string ErrStr;
ExecutionEngine *NewEngine = EngineBuilder(M)
.setErrorStr(&ErrStr)
+ .setUseMCJIT(true)
.setMCJITMemoryManager(new HelpingMemoryManager(this))
.create();
if (!NewEngine) {