diff options
Diffstat (limited to 'runtime/base/bit_vector.cc')
-rw-r--r-- | runtime/base/bit_vector.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/runtime/base/bit_vector.cc b/runtime/base/bit_vector.cc index 4390180..c3e24a7 100644 --- a/runtime/base/bit_vector.cc +++ b/runtime/base/bit_vector.cc @@ -276,6 +276,10 @@ void BitVector::Copy(const BitVector *src) { } } +#if defined(__clang__) && defined(__ARM_64BIT_STATE) +// b/19180814 When POPCOUNT is inlined, boot up failed on arm64 devices. +__attribute__((optnone)) +#endif uint32_t BitVector::NumSetBits(const uint32_t* storage, uint32_t end) { uint32_t word_end = WordIndex(end); uint32_t partial_word_bits = end & 0x1f; |