Index: runtime/vm/atomic_macos.h |
=================================================================== |
--- runtime/vm/atomic_macos.h (revision 41327) |
+++ runtime/vm/atomic_macos.h (working copy) |
@@ -21,11 +21,13 @@ |
} |
+#if !defined(USING_SIMULATOR) |
inline uword AtomicOperations::CompareAndSwapWord(uword* ptr, |
uword old_value, |
uword new_value) { |
return __sync_val_compare_and_swap(ptr, old_value, new_value); |
} |
+#endif // !defined(USING_SIMULATOR) |
} // namespace dart |