mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 11:42:57 +01:00
Fix some X86 JIT failures. This should really come from TargetJITInfo.
llvm-svn: 30102
This commit is contained in:
parent
5eda609986
commit
53644648df
@ -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