Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(354)

Unified Diff: runtime/vm/atomic.h

Issue 2344263002: Fix bad commit of stale patch set of original CL "Make NoReloadScope thread safe" (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | runtime/vm/atomic_android.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/atomic.h
diff --git a/runtime/vm/atomic.h b/runtime/vm/atomic.h
index d6a833bb313b61e5fe8a3c548e89eeef1ba02cfc..e16eee18a5213234cdd220709c8637a93529ad5d 100644
--- a/runtime/vm/atomic.h
+++ b/runtime/vm/atomic.h
@@ -20,6 +20,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 FetchAndIncrement(uintptr_t* p);
+ static intptr_t FetchAndIncrement(intptr_t* p);
// Atomically increment the value at p by 'value'.
//
@@ -34,6 +35,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);
// Atomically decrement the value at p by 'value'.
//
« no previous file with comments | « no previous file | runtime/vm/atomic_android.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698