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

Unified Diff: runtime/vm/atomic_android.cc

Issue 529823002: - Add AtomicOperations::CompareAndSwapWord (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 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
Index: runtime/vm/atomic_android.cc
===================================================================
--- runtime/vm/atomic_android.cc (revision 39714)
+++ runtime/vm/atomic_android.cc (working copy)
@@ -1,20 +0,0 @@
-// Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
-
-#include "platform/globals.h"
-#if defined(TARGET_OS_ANDROID)
-
-#include "vm/atomic.h"
-
-namespace dart {
-
-
-uintptr_t AtomicOperations::FetchAndIncrement(uintptr_t* p) {
- return __sync_fetch_and_add(p, 1);
-}
-
-
-} // namespace dart
-
-#endif // defined(TARGET_OS_ANDROID)
« no previous file with comments | « runtime/vm/atomic_android.h ('k') | runtime/vm/atomic_linux.h » ('j') | runtime/vm/object.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698