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:
Chris Lattner 2004-11-21 03:46:06 +00:00
parent cb47941556
commit 88f9386cfe
2 changed files with 1 additions and 2 deletions

View File

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

View File

@ -137,4 +137,3 @@ void X86JITInfo::relocate(void *Function, MachineRelocation *MR,
}
}
}