llvm.org GIT mirror llvm / a9ab846
Oops. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45312 91177308-0d34-0410-b5e6-96231b3b80d8 Evan Cheng 12 years ago
1 changed file(s) with 1 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
169169 bool X86TargetMachine::addCodeEmitter(FunctionPassManager &PM, bool Fast,
170170 bool DumpAsm, MachineCodeEmitter &MCE) {
171171 // FIXME: Move this to TargetJITInfo!
172 if (getRelocationModel() == Reloc::Default)
173 setRelocationModel(Reloc::Static);
172 setRelocationModel(Reloc::Static);
174173 Subtarget.setPICStyle(PICStyle::None);
175174
176175 // JIT cannot ensure globals are placed in the lower 4G of address.