mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-05-22 19:38:40 +00:00
Oops.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35104 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
c760a920d5
commit
774be29769
@ -319,8 +319,8 @@ void *X86JITInfo::emitFunctionStub(void *Fn, MachineCodeEmitter &MCE) {
|
|||||||
MCE.startFunctionStub(5, 4);
|
MCE.startFunctionStub(5, 4);
|
||||||
MCE.emitByte(0xE9);
|
MCE.emitByte(0xE9);
|
||||||
MCE.emitWordLE((intptr_t)Fn-MCE.getCurrentPCValue()-4);
|
MCE.emitWordLE((intptr_t)Fn-MCE.getCurrentPCValue()-4);
|
||||||
return MCE.finishFunctionStub(0);
|
|
||||||
#endif
|
#endif
|
||||||
|
return MCE.finishFunctionStub(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef __x86_64__
|
#ifdef __x86_64__
|
||||||
|
Loading…
x
Reference in New Issue
Block a user