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

Unified Diff: runtime/vm/atomic.h

Issue 2344193002: 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/isolate.h » ('j') | runtime/vm/isolate.h » ('J')
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..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'.
//
« no previous file with comments | « no previous file | runtime/vm/isolate.h » ('j') | runtime/vm/isolate.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698