Index: runtime/vm/simulator_arm64.cc |
diff --git a/runtime/vm/simulator_arm64.cc b/runtime/vm/simulator_arm64.cc |
index 36f5f9cfebd5e7a55f642e588391c89c5f34fe3f..b3cac8be23c8c7d07b0bb325e02cc04f9096a361 100644 |
--- a/runtime/vm/simulator_arm64.cc |
+++ b/runtime/vm/simulator_arm64.cc |
@@ -1218,7 +1218,7 @@ bool Simulator::HasExclusiveAccessAndOpen(uword addr) { |
void Simulator::ClearExclusive() { |
MutexLocker ml(exclusive_access_lock_); |
// Remove the reservation for this thread. |
- SetExclusiveAccess(NULL); |
+ SetExclusiveAccess(0); |
} |