mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-11 21:57:55 +00:00
Fix some X86 JIT failures. This should really come from TargetJITInfo.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30102 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
279015226e
commit
2130b99eb2
@ -106,6 +106,9 @@ bool X86TargetMachine::addObjectWriter(FunctionPassManager &PM, bool Fast,
|
||||
|
||||
bool X86TargetMachine::addCodeEmitter(FunctionPassManager &PM, bool Fast,
|
||||
MachineCodeEmitter &MCE) {
|
||||
// FIXME: Move this to TargetJITInfo!
|
||||
setRelocationModel(Reloc::Static);
|
||||
|
||||
PM.add(createX86CodeEmitterPass(*this, MCE));
|
||||
return false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user