projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d90309
)
Update comment to reflect instruction.
author
Eric Christopher
<echristo@apple.com>
Fri, 20 Nov 2009 00:21:55 +0000
(
00:21
+0000)
committer
Eric Christopher
<echristo@apple.com>
Fri, 20 Nov 2009 00:21:55 +0000
(
00:21
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@89414
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/ARM/ARMJITInfo.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/ARM/ARMJITInfo.cpp
b/lib/Target/ARM/ARMJITInfo.cpp
index 24990e67a3819fc78f3f3ccb7d14ee38898078df..bdddcd67fab985f56e6d339c57995d15e509dd6b 100644
(file)
--- 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)