summaryrefslogtreecommitdiff
path: root/src/thread.cc
diff options
context:
space:
mode:
author buzbee <buzbee@google.com> 2011-09-11 09:36:41 -0700
committer buzbee <buzbee@google.com> 2011-09-11 09:36:41 -0700
commitc396efc1baec875160afe34a3e65c46cce2bd72f (patch)
treeef07aec980e23bb17c20ad3e1f0c6c6d4b665db8 /src/thread.cc
parentd3932bb7ce2b4ac6a808cf6bc7d0fc1cd7863a80 (diff)
Build fix: move target-indepent code out of __arm__
F2L and D2L are target independent, so the function pointer initialization should be outside of the arm-only section. Change-Id: I979b39d25a7d49c47e4fbbf6c0d5e50a460c2e43
Diffstat (limited to 'src/thread.cc')
-rw-r--r--src/thread.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/thread.cc b/src/thread.cc
index d5174ab10d..9361d004fb 100644
--- a/src/thread.cc
+++ b/src/thread.cc
@@ -270,12 +270,12 @@ void Thread::InitFunctionPointers() {
pDdiv = __aeabi_ddiv;
pDmul = __aeabi_dmul;
pFmod = fmod;
- pF2l = F2L;
- pD2l = D2L;
pLdivmod = __aeabi_ldivmod;
pLmul = __aeabi_lmul;
pInvokeInterfaceTrampoline = art_invoke_interface_trampoline;
#endif
+ pF2l = F2L;
+ pD2l = D2L;
pAllocFromCode = Array::AllocFromCode;
pCheckAndAllocFromCode = CheckAndAllocFromCode;
pAllocObjectFromCode = Class::AllocObjectFromCode;