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