projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Nuke the old JIT.
[oota-llvm.git]
/
examples
/
Kaleidoscope
/
MCJIT
/
initial
/
toy.cpp
diff --git
a/examples/Kaleidoscope/MCJIT/initial/toy.cpp
b/examples/Kaleidoscope/MCJIT/initial/toy.cpp
index 4c4711338c47e744aef439b748d1ba02935f4607..2c1b2973af5876092e64c1cce4402d1c16a6d230 100644
(file)
--- a/
examples/Kaleidoscope/MCJIT/initial/toy.cpp
+++ b/
examples/Kaleidoscope/MCJIT/initial/toy.cpp
@@
-778,7
+778,6
@@
void *MCJITHelper::getPointerToFunction(Function* F) {
std::string ErrStr;
ExecutionEngine *NewEngine = EngineBuilder(OpenModule)
.setErrorStr(&ErrStr)
std::string ErrStr;
ExecutionEngine *NewEngine = EngineBuilder(OpenModule)
.setErrorStr(&ErrStr)
- .setUseMCJIT(true)
.setMCJITMemoryManager(new HelpingMemoryManager(this))
.create();
if (!NewEngine) {
.setMCJITMemoryManager(new HelpingMemoryManager(this))
.create();
if (!NewEngine) {