mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
MCJIT initialization TargetData
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@140856 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f51b7e5d74
commit
0ba3c0ab63
@ -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
Block a user