| Index: runtime/vm/atomic_android.h
|
| diff --git a/runtime/vm/atomic_android.h b/runtime/vm/atomic_android.h
|
| index 48f7f372fd0b2b4799137679cfad07f58b570106..c3727af868d53335cb2165c2c543cbd3e3843e4b 100644
|
| --- a/runtime/vm/atomic_android.h
|
| +++ b/runtime/vm/atomic_android.h
|
| @@ -21,9 +21,8 @@ inline uintptr_t AtomicOperations::FetchAndIncrement(uintptr_t* p) {
|
| }
|
|
|
|
|
| -inline uintptr_t AtomicOperations::FetchAndIncrementBy(intptr_t* p,
|
| - intptr_t value) {
|
| - return __sync_fetch_and_add(p, value);
|
| +inline void AtomicOperations::IncrementBy(intptr_t* p, intptr_t value) {
|
| + __sync_fetch_and_add(p, value);
|
| }
|
|
|
|
|
| @@ -32,9 +31,8 @@ inline uintptr_t AtomicOperations::FetchAndDecrement(uintptr_t* p) {
|
| }
|
|
|
|
|
| -inline uintptr_t AtomicOperations::FetchAndDecrementBy(intptr_t* p,
|
| - intptr_t value) {
|
| - return __sync_fetch_and_sub(p, value);
|
| +inline void AtomicOperations::DecrementBy(intptr_t* p, intptr_t value) {
|
| + __sync_fetch_and_sub(p, value);
|
| }
|
|
|
|
|
|
|