1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 04:02:41 +01:00

Update comment to reflect instruction.

llvm-svn: 89414
This commit is contained in:
Eric Christopher 2009-11-20 00:21:55 +00:00
parent 8154e3118a
commit fd3b2deb8f

View File

@ -177,7 +177,7 @@ void *ARMJITInfo::emitFunctionStub(const Function* F, void *Fn,
if (!sys::Memory::setRangeWritable((void*)Addr, 16)) {
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(0xe59cf000); // ldr pc, [ip]
JCE.emitWordLE(LazyPtr - (Addr+4+8)); // func - (L_func$scv+8)