diff options
author | Ian Rogers <irogers@google.com> | 2014-02-14 00:52:24 -0800 |
---|---|---|
committer | Ian Rogers <irogers@google.com> | 2014-02-20 14:46:02 -0800 |
commit | 936b37f3a7f224d990a36b2ec66782a4462180d6 (patch) | |
tree | 94de34072e8ce0a2a251ed8d5ccc7d87709db750 /runtime/atomic.h | |
parent | fd80b5717c0cdd10ef2caabf4291415a52fcc874 (diff) | |
download | art-936b37f3a7f224d990a36b2ec66782a4462180d6.tar.gz art-936b37f3a7f224d990a36b2ec66782a4462180d6.tar.bz2 art-936b37f3a7f224d990a36b2ec66782a4462180d6.zip |
Upcall support for x86-64.
Sufficient to pass jni_internal_test.
Change-Id: Ia0d9b8241ab8450e04765b9c32eb6dc8fc1a8733
Diffstat (limited to 'runtime/atomic.h')
-rw-r--r-- | runtime/atomic.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/atomic.h b/runtime/atomic.h index 2a47e46137..fe9d7b8e22 100644 --- a/runtime/atomic.h +++ b/runtime/atomic.h @@ -96,7 +96,7 @@ typedef Atomic<int32_t> AtomicInteger; // quasiatomic operations that are performed on partially-overlapping // memory. class QuasiAtomic { -#if !defined(__arm__) && !defined(__i386__) +#if defined(__mips__) && !defined(__LP64__) static constexpr bool kNeedSwapMutexes = true; #else static constexpr bool kNeedSwapMutexes = false; |