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

Side by Side Diff: runtime/platform/globals.h

Issue 2515663002: VM: Fix Flutter build. (Closed)
Patch Set: Created 4 years, 1 month 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 | « no previous file | runtime/vm/BUILD.gn » ('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) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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_PLATFORM_GLOBALS_H_ 5 #ifndef RUNTIME_PLATFORM_GLOBALS_H_
6 #define RUNTIME_PLATFORM_GLOBALS_H_ 6 #define RUNTIME_PLATFORM_GLOBALS_H_
7 7
8 // __STDC_FORMAT_MACROS has to be defined before including <inttypes.h> to 8 // __STDC_FORMAT_MACROS has to be defined before including <inttypes.h> to
9 // enable platform independent printf format specifiers. 9 // enable platform independent printf format specifiers.
10 #ifndef __STDC_FORMAT_MACROS 10 #ifndef __STDC_FORMAT_MACROS
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 #if defined(DEBUG) 135 #if defined(DEBUG)
136 #define DEBUG_ONLY(code) code 136 #define DEBUG_ONLY(code) code
137 #else // defined(DEBUG) 137 #else // defined(DEBUG)
138 #define DEBUG_ONLY(code) 138 #define DEBUG_ONLY(code)
139 #endif // defined(DEBUG) 139 #endif // defined(DEBUG)
140 140
141 #if defined(DART_PRECOMPILED_RUNTIME) && defined(DART_PRECOMPILER) 141 #if defined(DART_PRECOMPILED_RUNTIME) && defined(DART_PRECOMPILER)
142 #error DART_PRECOMPILED_RUNTIME and DART_PRECOMPILER are mutually exclusive 142 #error DART_PRECOMPILED_RUNTIME and DART_PRECOMPILER are mutually exclusive
143 #endif // defined(DART_PRECOMPILED_RUNTIME) && defined(DART_PRECOMPILER) 143 #endif // defined(DART_PRECOMPILED_RUNTIME) && defined(DART_PRECOMPILER)
144 144
145 #if defined(DART_PRECOMPILED_RUNTIME) && defined(DART_NOSNAPSHOT)
146 #error DART_PRECOMPILED_RUNTIME and DART_NOSNAPSHOT are mutually exclusive
147 #endif // defined(DART_PRECOMPILED_RUNTIME) && defined(DART_NOSNAPSHOT)
148
145 #if defined(DART_PRECOMPILED_RUNTIME) 149 #if defined(DART_PRECOMPILED_RUNTIME)
146 #define NOT_IN_PRECOMPILED(code) 150 #define NOT_IN_PRECOMPILED(code)
147 #else 151 #else
148 #define NOT_IN_PRECOMPILED(code) code 152 #define NOT_IN_PRECOMPILED(code) code
149 #endif // defined(DART_PRECOMPILED_RUNTIME) 153 #endif // defined(DART_PRECOMPILED_RUNTIME)
150 154
151 namespace dart { 155 namespace dart {
152 156
153 struct simd128_value_t { 157 struct simd128_value_t {
154 union { 158 union {
(...skipping 547 matching lines...) Expand 10 before | Expand all | Expand 10 after
702 // tag in the ICData and check it when recreating the flow graph in 706 // tag in the ICData and check it when recreating the flow graph in
703 // optimizing compiler. Enable it for other modes (product, release) if needed 707 // optimizing compiler. Enable it for other modes (product, release) if needed
704 // for debugging. 708 // for debugging.
705 #if defined(DEBUG) 709 #if defined(DEBUG)
706 #define TAG_IC_DATA 710 #define TAG_IC_DATA
707 #endif 711 #endif
708 712
709 } // namespace dart 713 } // namespace dart
710 714
711 #endif // RUNTIME_PLATFORM_GLOBALS_H_ 715 #endif // RUNTIME_PLATFORM_GLOBALS_H_
OLDNEW
« no previous file with comments | « no previous file | runtime/vm/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698