mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-18 12:29:21 +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) {
|
void Emitter::emitGlobalAddressForCall(GlobalValue *GV) {
|
||||||
MCE.addRelocation(MachineRelocation(MCE.getCurrentPCOffset(),
|
MCE.addRelocation(MachineRelocation(MCE.getCurrentPCOffset(),
|
||||||
X86::reloc_pcrel_word, GV));
|
X86::reloc_pcrel_word, GV, 0, true));
|
||||||
MCE.emitWord(0);
|
MCE.emitWord(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -137,4 +137,3 @@ void X86JITInfo::relocate(void *Function, MachineRelocation *MR,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user