Index: src/atomicops_internals_mips_gcc.h |
diff --git a/src/atomicops_internals_mips_gcc.h b/src/atomicops_internals_mips_gcc.h |
index cb8f8b9d954e8cb37fa2d2f9c326607a846156f6..13112e024f59f8f50a5ac18217938d4d2c83b00f 100644 |
--- a/src/atomicops_internals_mips_gcc.h |
+++ b/src/atomicops_internals_mips_gcc.h |
@@ -136,6 +136,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; |
} |
@@ -154,6 +158,10 @@ inline void Release_Store(volatile Atomic32* ptr, Atomic32 value) { |
*ptr = value; |
} |
+inline Atomic8 NoBarrier_Load(volatile const Atomic8* ptr) { |
+ return *ptr; |
+} |
+ |
inline Atomic32 NoBarrier_Load(volatile const Atomic32* ptr) { |
return *ptr; |
} |