equal
deleted
inserted
replaced
120 return PrimitiveConversions::cast<T>(dest); |
120 return PrimitiveConversions::cast<T>(dest); |
121 } |
121 } |
122 |
122 |
123 template<> |
123 template<> |
124 template<typename T> |
124 template<typename T> |
125 inline void Atomic::PlatformStore<8>::operator()(T store_value, |
125 inline void Atomic::PlatformStore<8>::operator()(T volatile* dest, |
126 T volatile* dest) const { |
126 T store_value) const { |
127 STATIC_ASSERT(8 == sizeof(T)); |
127 STATIC_ASSERT(8 == sizeof(T)); |
128 os::atomic_copy64(reinterpret_cast<const volatile int64_t*>(&store_value), reinterpret_cast<volatile int64_t*>(dest)); |
128 os::atomic_copy64(reinterpret_cast<const volatile int64_t*>(&store_value), reinterpret_cast<volatile int64_t*>(dest)); |
129 } |
129 } |
130 |
130 |
131 #endif // OS_CPU_LINUX_ZERO_ATOMIC_LINUX_ZERO_HPP |
131 #endif // OS_CPU_LINUX_ZERO_ATOMIC_LINUX_ZERO_HPP |