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

Unified Diff: runtime/vm/atomic.h

Issue 2995803002: [vm] Implement more efficient CAS in simarm/simarm64 modes (Closed)
Patch Set: Relax assertions for unit test which does clrex between ldrex and strex 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 | runtime/vm/atomic_android.h » ('j') | runtime/vm/simulator_arm.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/atomic.h
diff --git a/runtime/vm/atomic.h b/runtime/vm/atomic.h
index 41dfad18d4911376c83d602d268ffb523f364229..4a45506e443e82d84e5e52fed2e8e9f40de5524a 100644
--- a/runtime/vm/atomic.h
+++ b/runtime/vm/atomic.h
@@ -8,7 +8,6 @@
#include "platform/globals.h"
#include "vm/allocation.h"
-#include "vm/simulator.h"
namespace dart {
@@ -62,16 +61,6 @@ class AtomicOperations : public AllStatic {
} // namespace dart
-#if defined(USING_SIMULATOR) && !defined(TARGET_ARCH_DBC)
-#define USING_SIMULATOR_ATOMICS
-#endif
-
-#if defined(USING_SIMULATOR_ATOMICS)
-// We need to use the simulator to ensure that atomic operations are observed
-// both in C++ and in generated code if the simulator is active.
-#include "vm/atomic_simulator.h"
-#endif
-
#if defined(HOST_OS_ANDROID)
#include "vm/atomic_android.h"
#elif defined(HOST_OS_FUCHSIA)
« no previous file with comments | « no previous file | runtime/vm/atomic_android.h » ('j') | runtime/vm/simulator_arm.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698