mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-30 07:00:45 +00:00
There is no reason to emit function stubs for direct calls.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18082 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
cb47941556
commit
88f9386cfe
@ -141,7 +141,7 @@ void Emitter::emitPCRelativeBlockAddress(const MachineBasicBlock *MBB) {
|
||||
///
|
||||
void Emitter::emitGlobalAddressForCall(GlobalValue *GV) {
|
||||
MCE.addRelocation(MachineRelocation(MCE.getCurrentPCOffset(),
|
||||
X86::reloc_pcrel_word, GV));
|
||||
X86::reloc_pcrel_word, GV, 0, true));
|
||||
MCE.emitWord(0);
|
||||
}
|
||||
|
||||
|
@ -137,4 +137,3 @@ void X86JITInfo::relocate(void *Function, MachineRelocation *MR,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user