30 #ifndef V8_ATOMICOPS_INTERNALS_ATOMICWORD_COMPAT_H_
31 #define V8_ATOMICOPS_INTERNALS_ATOMICWORD_COMPAT_H_
44 #if !defined(V8_HOST_ARCH_64_BIT)
53 reinterpret_cast<volatile Atomic32*>(ptr), old_value, new_value);
59 reinterpret_cast<volatile Atomic32*>(ptr), new_value);
65 reinterpret_cast<volatile Atomic32*>(ptr), increment);
71 reinterpret_cast<volatile Atomic32*>(ptr), increment);
78 reinterpret_cast<volatile Atomic32*>(ptr), old_value, new_value);
85 reinterpret_cast<volatile Atomic32*>(ptr), old_value, new_value);
90 reinterpret_cast<volatile Atomic32*>(ptr), value);
95 reinterpret_cast<volatile Atomic32*>(ptr), value);
100 reinterpret_cast<volatile Atomic32*>(ptr), value);
105 reinterpret_cast<volatile const Atomic32*>(ptr));
110 reinterpret_cast<volatile const Atomic32*>(ptr));
115 reinterpret_cast<volatile const Atomic32*>(ptr));
120 #endif // !defined(V8_HOST_ARCH_64_BIT)
122 #endif // V8_ATOMICOPS_INTERNALS_ATOMICWORD_COMPAT_H_
void Acquire_Store(volatile Atomic32 *ptr, Atomic32 value)
Atomic32 NoBarrier_CompareAndSwap(volatile Atomic32 *ptr, Atomic32 old_value, Atomic32 new_value)
Atomic32 Release_CompareAndSwap(volatile Atomic32 *ptr, Atomic32 old_value, Atomic32 new_value)
void NoBarrier_Store(volatile Atomic32 *ptr, Atomic32 value)
Atomic32 NoBarrier_AtomicExchange(volatile Atomic32 *ptr, Atomic32 new_value)
Atomic32 Release_Load(volatile const Atomic32 *ptr)
Atomic32 NoBarrier_AtomicIncrement(volatile Atomic32 *ptr, Atomic32 increment)
void Release_Store(volatile Atomic32 *ptr, Atomic32 value)
Atomic32 Barrier_AtomicIncrement(volatile Atomic32 *ptr, Atomic32 increment)
Atomic32 NoBarrier_Load(volatile const Atomic32 *ptr)
Atomic32 Acquire_Load(volatile const Atomic32 *ptr)
Atomic32 Acquire_CompareAndSwap(volatile Atomic32 *ptr, Atomic32 old_value, Atomic32 new_value)