| Index: runtime/vm/atomic_android.h
|
| diff --git a/runtime/vm/atomic_android.h b/runtime/vm/atomic_android.h
|
| index c3727af868d53335cb2165c2c543cbd3e3843e4b..b994343e8f64a974600bb2aa76bbd31230c04cf9 100644
|
| --- a/runtime/vm/atomic_android.h
|
| +++ b/runtime/vm/atomic_android.h
|
| @@ -26,6 +26,11 @@ inline void AtomicOperations::IncrementBy(intptr_t* p, intptr_t value) {
|
| }
|
|
|
|
|
| +inline void AtomicOperations::IncrementInt64By(int64_t* p, int64_t value) {
|
| + __sync_fetch_and_add(p, value);
|
| +}
|
| +
|
| +
|
| inline uintptr_t AtomicOperations::FetchAndDecrement(uintptr_t* p) {
|
| return __sync_fetch_and_sub(p, 1);
|
| }
|
|
|