1
0
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:
Chris Lattner 2006-09-04 18:48:41 +00:00
parent 5eda609986
commit 53644648df

View File

@ -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;
}