Index: src/atomicops_internals_x86_msvc.h |
diff --git a/src/atomicops_internals_x86_msvc.h b/src/atomicops_internals_x86_msvc.h |
index ad9cf9d80bbf2804f9e853876c7dbb1f619cba95..6c7a22c44d236961bbbdfb480b00913b8af4f4ea 100644 |
--- a/src/atomicops_internals_x86_msvc.h |
+++ b/src/atomicops_internals_x86_msvc.h |
@@ -100,6 +100,10 @@ inline Atomic32 Release_CompareAndSwap(volatile Atomic32* ptr, |
return NoBarrier_CompareAndSwap(ptr, old_value, new_value); |
} |
+inline void NoBarrier_Store(volatile Atomic8* ptr, Atomic8 value) { |
+ *ptr = value; |
+} |
+ |
inline void NoBarrier_Store(volatile Atomic32* ptr, Atomic32 value) { |
*ptr = value; |
} |
@@ -114,6 +118,10 @@ inline void Release_Store(volatile Atomic32* ptr, Atomic32 value) { |
// See comments in Atomic64 version of Release_Store() below. |
} |
+inline Atomic8 NoBarrier_Load(volatile const Atomic8* ptr) { |
+ return *ptr; |
+} |
+ |
inline Atomic32 NoBarrier_Load(volatile const Atomic32* ptr) { |
return *ptr; |
} |