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

Unified Diff: runtime/vm/atomic_win.h

Issue 2994213002: [vm] Fix Windows build after improving CAS (Closed)
Patch Set: Created 3 years, 4 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/atomic_win.h
diff --git a/runtime/vm/atomic_win.h b/runtime/vm/atomic_win.h
index 9f2411d13ddc2da4a84fd6e474473e5374e3cfed..55e47569cec0d4ffcf5854391338dd083bd38f1e 100644
--- a/runtime/vm/atomic_win.h
+++ b/runtime/vm/atomic_win.h
@@ -102,7 +102,6 @@ inline void AtomicOperations::DecrementBy(intptr_t* p, intptr_t value) {
#endif
}
-#if !defined(USING_SIMULATOR)
inline uword AtomicOperations::CompareAndSwapWord(uword* ptr,
uword old_value,
uword new_value) {
@@ -129,7 +128,6 @@ inline uint32_t AtomicOperations::CompareAndSwapUint32(uint32_t* ptr,
#error Unsupported host architecture.
#endif
}
-#endif // !defined(USING_SIMULATOR)
} // namespace dart
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698