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

Unified Diff: runtime/vm/simulator_arm64.h

Issue 1562253002: Add a CompareAndSwapUint32 variant to AtomicOperations so that it is possible to a CAS of a 32 bit … (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 11 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 | « runtime/vm/simulator_arm.cc ('k') | runtime/vm/simulator_arm64.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/simulator_arm64.h
diff --git a/runtime/vm/simulator_arm64.h b/runtime/vm/simulator_arm64.h
index d23e83bdf1e21831eb48bda7f891b7a4051dd013..d395f6bcabe2ca149f3653e6df0a236ff6f7f624 100644
--- a/runtime/vm/simulator_arm64.h
+++ b/runtime/vm/simulator_arm64.h
@@ -102,6 +102,9 @@ class Simulator {
static uword CompareExchange(uword* address,
uword compare_value,
uword new_value);
+ static uint32_t CompareExchangeUint32(uint32_t* address,
+ uint32_t compare_value,
+ uint32_t new_value);
// Runtime and native call support.
enum CallKind {
« no previous file with comments | « runtime/vm/simulator_arm.cc ('k') | runtime/vm/simulator_arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698