equal
deleted
inserted
replaced
274 return PrimitiveConversions::cast<T>(dest); |
274 return PrimitiveConversions::cast<T>(dest); |
275 } |
275 } |
276 |
276 |
277 template<> |
277 template<> |
278 template<typename T> |
278 template<typename T> |
279 inline void Atomic::PlatformStore<8>::operator()(T store_value, |
279 inline void Atomic::PlatformStore<8>::operator()(T volatile* dest, |
280 T volatile* dest) const { |
280 T store_value) const { |
281 STATIC_ASSERT(8 == sizeof(T)); |
281 STATIC_ASSERT(8 == sizeof(T)); |
282 os::atomic_copy64(reinterpret_cast<const volatile int64_t*>(&store_value), reinterpret_cast<volatile int64_t*>(dest)); |
282 os::atomic_copy64(reinterpret_cast<const volatile int64_t*>(&store_value), reinterpret_cast<volatile int64_t*>(dest)); |
283 } |
283 } |
284 |
284 |
285 #endif // OS_CPU_BSD_ZERO_ATOMIC_BSD_ZERO_HPP |
285 #endif // OS_CPU_BSD_ZERO_ATOMIC_BSD_ZERO_HPP |