summaryrefslogtreecommitdiffstats
path: root/runtime/atomic.h
diff options
context:
space:
mode:
authorAndreas Gampe <agampe@google.com>2015-01-15 12:10:47 -0800
committerAndreas Gampe <agampe@google.com>2015-01-15 20:13:48 -0800
commit1a5c40672783fac98aca5a04ac798a0a0014de65 (patch)
tree18545fd8c3588dd4f4dde91d367da82c53cf17a9 /runtime/atomic.h
parent0223a19fa4fc39ba89de2b87b03b98a5fd97778b (diff)
downloadart-1a5c40672783fac98aca5a04ac798a0a0014de65.tar.gz
art-1a5c40672783fac98aca5a04ac798a0a0014de65.tar.bz2
art-1a5c40672783fac98aca5a04ac798a0a0014de65.zip
ART: Mips64 runtime support
Interpret-only Mips64 runtime support. Change-Id: Iee22d0c8c77105d9b2f03a67dc4e09957fe0ab0a
Diffstat (limited to 'runtime/atomic.h')
-rw-r--r--runtime/atomic.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/atomic.h b/runtime/atomic.h
index cf61277053..87de506a85 100644
--- a/runtime/atomic.h
+++ b/runtime/atomic.h
@@ -46,6 +46,9 @@ class Mutex;
class QuasiAtomic {
#if defined(__mips__) && !defined(__LP64__)
static constexpr bool kNeedSwapMutexes = true;
+#elif defined(__mips__) && defined(__LP64__)
+ // TODO - mips64 still need this for Cas64 ???
+ static constexpr bool kNeedSwapMutexes = true;
#else
static constexpr bool kNeedSwapMutexes = false;
#endif