Chromium Code Reviews| Index: runtime/vm/atomic_linux.h |
| =================================================================== |
| --- runtime/vm/atomic_linux.h (revision 41327) |
| +++ runtime/vm/atomic_linux.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 |