mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-08 21:32:39 +00:00
Update comment to reflect instruction.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@89414 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
6d903092c9
commit
0dde97156c
@ -177,7 +177,7 @@ void *ARMJITInfo::emitFunctionStub(const Function* F, void *Fn,
|
|||||||
if (!sys::Memory::setRangeWritable((void*)Addr, 16)) {
|
if (!sys::Memory::setRangeWritable((void*)Addr, 16)) {
|
||||||
llvm_unreachable("ERROR: Unable to mark stub writable");
|
llvm_unreachable("ERROR: Unable to mark stub writable");
|
||||||
}
|
}
|
||||||
JCE.emitWordLE(0xe59fc004); // ldr pc, [pc, #+4]
|
JCE.emitWordLE(0xe59fc004); // ldr ip, [pc, #+4]
|
||||||
JCE.emitWordLE(0xe08fc00c); // L_func$scv: add ip, pc, ip
|
JCE.emitWordLE(0xe08fc00c); // L_func$scv: add ip, pc, ip
|
||||||
JCE.emitWordLE(0xe59cf000); // ldr pc, [ip]
|
JCE.emitWordLE(0xe59cf000); // ldr pc, [ip]
|
||||||
JCE.emitWordLE(LazyPtr - (Addr+4+8)); // func - (L_func$scv+8)
|
JCE.emitWordLE(LazyPtr - (Addr+4+8)); // func - (L_func$scv+8)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user