Chromium Code Reviews| Index: runtime/vm/atomic.h |
| diff --git a/runtime/vm/atomic.h b/runtime/vm/atomic.h |
| index d6a833bb313b61e5fe8a3c548e89eeef1ba02cfc..af4eddf4b79e1a72a67ca935e23ddd8a51383e09 100644 |
| --- a/runtime/vm/atomic.h |
| +++ b/runtime/vm/atomic.h |
| @@ -34,6 +34,7 @@ class AtomicOperations : public AllStatic { |
| // NOTE: Not to be used for any atomic operations involving memory locations |
| // that are accessed by generated code. |
| static uintptr_t FetchAndDecrement(uintptr_t* p); |
| + static intptr_t FetchAndDecrement(intptr_t* p); |
|
Florian Schneider
2016/09/16 16:22:41
Not needed? If we need both variants, I'd make thi
Cutch
2016/09/16 16:45:30
Oops. I meant to delete this.
|
| // Atomically decrement the value at p by 'value'. |
| // |