OLD | NEW |
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 #ifndef VM_ATOMIC_H_ | 5 #ifndef RUNTIME_VM_ATOMIC_H_ |
6 #define VM_ATOMIC_H_ | 6 #define RUNTIME_VM_ATOMIC_H_ |
7 | 7 |
8 #include "platform/globals.h" | 8 #include "platform/globals.h" |
9 | 9 |
10 #include "vm/allocation.h" | 10 #include "vm/allocation.h" |
11 #include "vm/simulator.h" | 11 #include "vm/simulator.h" |
12 | 12 |
13 namespace dart { | 13 namespace dart { |
14 | 14 |
15 class AtomicOperations : public AllStatic { | 15 class AtomicOperations : public AllStatic { |
16 public: | 16 public: |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
79 #elif defined(TARGET_OS_LINUX) | 79 #elif defined(TARGET_OS_LINUX) |
80 #include "vm/atomic_linux.h" | 80 #include "vm/atomic_linux.h" |
81 #elif defined(TARGET_OS_MACOS) | 81 #elif defined(TARGET_OS_MACOS) |
82 #include "vm/atomic_macos.h" | 82 #include "vm/atomic_macos.h" |
83 #elif defined(TARGET_OS_WINDOWS) | 83 #elif defined(TARGET_OS_WINDOWS) |
84 #include "vm/atomic_win.h" | 84 #include "vm/atomic_win.h" |
85 #else | 85 #else |
86 #error Unknown target os. | 86 #error Unknown target os. |
87 #endif | 87 #endif |
88 | 88 |
89 #endif // VM_ATOMIC_H_ | 89 #endif // RUNTIME_VM_ATOMIC_H_ |
OLD | NEW |