aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target
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
commit0dde97156ce75d14498185e34c5d20c66a0c38d1 (patch)
treec35be29bc7b0ba68784eba74b70e2a3cff1fae9f /lib/Target
parent6d903092c95703b17f90ba9e3f3f2032f364ee4e (diff)
downloadexternal_llvm-0dde97156ce75d14498185e34c5d20c66a0c38d1.zip
external_llvm-0dde97156ce75d14498185e34c5d20c66a0c38d1.tar.gz
external_llvm-0dde97156ce75d14498185e34c5d20c66a0c38d1.tar.bz2
Update comment to reflect instruction.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@89414 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target')
-rw-r--r--lib/Target/ARM/ARMJITInfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/ARM/ARMJITInfo.cpp b/lib/Target/ARM/ARMJITInfo.cpp
index 24990e6..bdddcd6 100644
--- a/lib/Target/ARM/ARMJITInfo.cpp
+++ b/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)