mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-01 05:01:59 +01:00
MCJIT initialization TargetData
llvm-svn: 140856
This commit is contained in:
parent
f088db2687
commit
73aeedab45
@ -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…
x
Reference in New Issue
Block a user