forked from OSchip/llvm-project
parent
ea3f90ae40
commit
64b1aad4e3
|
@ -59,6 +59,7 @@ MCJIT::MCJIT(Module *m, TargetMachine *tm, TargetJITInfo &tji,
|
|||
bool AllocateGVsWithCode)
|
||||
: ExecutionEngine(m), TM(tm), MemMgr(MM), M(m), OS(Buffer), Dyld(MM) {
|
||||
|
||||
setTargetData(TM->getTargetData());
|
||||
PM.add(new TargetData(*TM->getTargetData()));
|
||||
|
||||
// Turn the machine code intermediate representation into bytes in memory
|
||||
|
|
Loading…
Reference in New Issue