summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/ARM/ARMJITInfo.cpp
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2009-11-20 00:21:55 +0000
committerEric Christopher <echristo@apple.com>2009-11-20 00:21:55 +0000
commita6380af6585d15c3644d4fe6ef48c5a3af66d4e9 (patch)
tree33d4cd8202e573c71b31897cc21805311957bf97 /llvm/lib/Target/ARM/ARMJITInfo.cpp
parentdd2b2b23c8aff1535840824c170a424d2680ba22 (diff)
downloadbcm5719-llvm-a6380af6585d15c3644d4fe6ef48c5a3af66d4e9.tar.gz
bcm5719-llvm-a6380af6585d15c3644d4fe6ef48c5a3af66d4e9.zip
Update comment to reflect instruction.
llvm-svn: 89414
Diffstat (limited to 'llvm/lib/Target/ARM/ARMJITInfo.cpp')
-rw-r--r--llvm/lib/Target/ARM/ARMJITInfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/ARM/ARMJITInfo.cpp b/llvm/lib/Target/ARM/ARMJITInfo.cpp
index 24990e67a38..bdddcd67fab 100644
--- a/llvm/lib/Target/ARM/ARMJITInfo.cpp
+++ b/llvm/lib/Target/ARM/ARMJITInfo.cpp
@@ -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)
OpenPOWER on IntegriCloud