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

Side by Side Diff: runtime/vm/atomic.h

Issue 2750843003: Rename TARGET_OS_* to HOST_OS_*. (Closed)
Patch Set: DEPS Created 3 years, 9 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 unified diff | Download patch
« no previous file with comments | « runtime/vm/assembler_x64_test.cc ('k') | runtime/vm/atomic_android.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 RUNTIME_VM_ATOMIC_H_ 5 #ifndef RUNTIME_VM_ATOMIC_H_
6 #define RUNTIME_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"
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 #if defined(USING_SIMULATOR) && !defined(TARGET_ARCH_DBC) 66 #if defined(USING_SIMULATOR) && !defined(TARGET_ARCH_DBC)
67 #define USING_SIMULATOR_ATOMICS 67 #define USING_SIMULATOR_ATOMICS
68 #endif 68 #endif
69 69
70 #if defined(USING_SIMULATOR_ATOMICS) 70 #if defined(USING_SIMULATOR_ATOMICS)
71 // We need to use the simulator to ensure that atomic operations are observed 71 // We need to use the simulator to ensure that atomic operations are observed
72 // both in C++ and in generated code if the simulator is active. 72 // both in C++ and in generated code if the simulator is active.
73 #include "vm/atomic_simulator.h" 73 #include "vm/atomic_simulator.h"
74 #endif 74 #endif
75 75
76 #if defined(TARGET_OS_ANDROID) 76 #if defined(HOST_OS_ANDROID)
77 #include "vm/atomic_android.h" 77 #include "vm/atomic_android.h"
78 #elif defined(TARGET_OS_FUCHSIA) 78 #elif defined(HOST_OS_FUCHSIA)
79 #include "vm/atomic_fuchsia.h" 79 #include "vm/atomic_fuchsia.h"
80 #elif defined(TARGET_OS_LINUX) 80 #elif defined(HOST_OS_LINUX)
81 #include "vm/atomic_linux.h" 81 #include "vm/atomic_linux.h"
82 #elif defined(TARGET_OS_MACOS) 82 #elif defined(HOST_OS_MACOS)
83 #include "vm/atomic_macos.h" 83 #include "vm/atomic_macos.h"
84 #elif defined(TARGET_OS_WINDOWS) 84 #elif defined(HOST_OS_WINDOWS)
85 #include "vm/atomic_win.h" 85 #include "vm/atomic_win.h"
86 #else 86 #else
87 #error Unknown target os. 87 #error Unknown target os.
88 #endif 88 #endif
89 89
90 #endif // RUNTIME_VM_ATOMIC_H_ 90 #endif // RUNTIME_VM_ATOMIC_H_
OLDNEW
« no previous file with comments | « runtime/vm/assembler_x64_test.cc ('k') | runtime/vm/atomic_android.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698