Index: src/base/atomicops_internals_atomicword_compat.h |
diff --git a/src/base/atomicops_internals_atomicword_compat.h b/src/base/atomicops_internals_atomicword_compat.h |
index 5071f442b4d3c0e6470dbe848c845ce195280dcb..09f75bdfd2c0aa967390784f61b28ce0aecbc8ba 100644 |
--- a/src/base/atomicops_internals_atomicword_compat.h |
+++ b/src/base/atomicops_internals_atomicword_compat.h |
@@ -23,23 +23,23 @@ |
namespace v8 { |
namespace base { |
-inline AtomicWord NoBarrier_CompareAndSwap(volatile AtomicWord* ptr, |
- AtomicWord old_value, |
- AtomicWord new_value) { |
- return NoBarrier_CompareAndSwap( |
- reinterpret_cast<volatile Atomic32*>(ptr), old_value, new_value); |
+inline AtomicWord Relaxed_CompareAndSwap(volatile AtomicWord* ptr, |
+ AtomicWord old_value, |
+ AtomicWord new_value) { |
+ return Relaxed_CompareAndSwap(reinterpret_cast<volatile Atomic32*>(ptr), |
+ old_value, new_value); |
} |
-inline AtomicWord NoBarrier_AtomicExchange(volatile AtomicWord* ptr, |
- AtomicWord new_value) { |
- return NoBarrier_AtomicExchange( |
- reinterpret_cast<volatile Atomic32*>(ptr), new_value); |
+inline AtomicWord Relaxed_AtomicExchange(volatile AtomicWord* ptr, |
+ AtomicWord new_value) { |
+ return Relaxed_AtomicExchange(reinterpret_cast<volatile Atomic32*>(ptr), |
+ new_value); |
} |
-inline AtomicWord NoBarrier_AtomicIncrement(volatile AtomicWord* ptr, |
- AtomicWord increment) { |
- return NoBarrier_AtomicIncrement( |
- reinterpret_cast<volatile Atomic32*>(ptr), increment); |
+inline AtomicWord Relaxed_AtomicIncrement(volatile AtomicWord* ptr, |
+ AtomicWord increment) { |
+ return Relaxed_AtomicIncrement(reinterpret_cast<volatile Atomic32*>(ptr), |
+ increment); |
} |
inline AtomicWord Barrier_AtomicIncrement(volatile AtomicWord* ptr, |
@@ -62,9 +62,8 @@ inline AtomicWord Release_CompareAndSwap(volatile AtomicWord* ptr, |
reinterpret_cast<volatile Atomic32*>(ptr), old_value, new_value); |
} |
-inline void NoBarrier_Store(volatile AtomicWord *ptr, AtomicWord value) { |
- NoBarrier_Store( |
- reinterpret_cast<volatile Atomic32*>(ptr), value); |
+inline void Relaxed_Store(volatile AtomicWord* ptr, AtomicWord value) { |
+ Relaxed_Store(reinterpret_cast<volatile Atomic32*>(ptr), value); |
} |
inline void Release_Store(volatile AtomicWord* ptr, AtomicWord value) { |
@@ -72,9 +71,8 @@ inline void Release_Store(volatile AtomicWord* ptr, AtomicWord value) { |
reinterpret_cast<volatile Atomic32*>(ptr), value); |
} |
-inline AtomicWord NoBarrier_Load(volatile const AtomicWord *ptr) { |
- return NoBarrier_Load( |
- reinterpret_cast<volatile const Atomic32*>(ptr)); |
+inline AtomicWord Relaxed_Load(volatile const AtomicWord* ptr) { |
+ return Relaxed_Load(reinterpret_cast<volatile const Atomic32*>(ptr)); |
} |
inline AtomicWord Acquire_Load(volatile const AtomicWord* ptr) { |