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

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

Issue 2735473002: VM: Fix product precompiler, it must have FLAG_use_osr set to false. (Closed)
Patch Set: 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/clustered_snapshot.cc ('k') | no next file » | 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_VM_FLAG_LIST_H_ 5 #ifndef RUNTIME_VM_FLAG_LIST_H_
6 #define RUNTIME_VM_FLAG_LIST_H_ 6 #define RUNTIME_VM_FLAG_LIST_H_
7 7
8 // Don't use USING_DBC outside of this file. 8 // Don't use USING_DBC outside of this file.
9 #if defined(TARGET_ARCH_DBC) 9 #if defined(TARGET_ARCH_DBC)
10 #define USING_DBC true 10 #define USING_DBC true
11 #else 11 #else
12 #define USING_DBC false 12 #define USING_DBC false
13 #endif 13 #endif
14 14
15 #if defined(TARGET_OS_FUCHSIA) 15 #if defined(TARGET_OS_FUCHSIA)
16 #define USING_FUCHSIA true 16 #define USING_FUCHSIA true
17 #else 17 #else
18 #define USING_FUCHSIA false 18 #define USING_FUCHSIA false
19 #endif 19 #endif
20 20
21 // Don't use USING_MULTICORE outside of this file. 21 // Don't use USING_MULTICORE outside of this file.
22 #if defined(ARCH_IS_MULTI_CORE) 22 #if defined(ARCH_IS_MULTI_CORE)
23 #define USING_MULTICORE true 23 #define USING_MULTICORE true
24 #else 24 #else
25 #define USING_MULTICORE false 25 #define USING_MULTICORE false
26 #endif 26 #endif
27 27
28 #if defined(DART_PRECOMPILER)
29 #define USING_PRECOMPILER true
30 #else
31 #define USING_PRECOMPILER false
32 #endif
33
28 // List of all flags in the VM. 34 // List of all flags in the VM.
29 // Flags can be one of three categories: 35 // Flags can be one of three categories:
30 // * P roduct flags: Can be set in any of the deployment modes, including in 36 // * P roduct flags: Can be set in any of the deployment modes, including in
31 // production. 37 // production.
32 // * R elease flags: Generally available flags except when building product. 38 // * R elease flags: Generally available flags except when building product.
33 // * D ebug flags: Can only be set in debug VMs, which also have C++ assertions 39 // * D ebug flags: Can only be set in debug VMs, which also have C++ assertions
34 // enabled. 40 // enabled.
35 // * pre C ompile flags: Generally available flags except when building product 41 // * pre C ompile flags: Generally available flags except when building product
36 // or precompiled runtime. 42 // or precompiled runtime.
37 // 43 //
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 R(trace_profiler, false, bool, false, "Profiler trace") \ 161 R(trace_profiler, false, bool, false, "Profiler trace") \
156 D(trace_profiler_verbose, bool, false, "Verbose profiler trace") \ 162 D(trace_profiler_verbose, bool, false, "Verbose profiler trace") \
157 D(trace_ssa_allocator, bool, false, "Trace register allocation over SSA.") \ 163 D(trace_ssa_allocator, bool, false, "Trace register allocation over SSA.") \
158 D(trace_zones, bool, false, "Traces allocation sizes in the zone.") \ 164 D(trace_zones, bool, false, "Traces allocation sizes in the zone.") \
159 P(truncating_left_shift, bool, true, \ 165 P(truncating_left_shift, bool, true, \
160 "Optimize left shift to truncate if possible") \ 166 "Optimize left shift to truncate if possible") \
161 P(use_cha_deopt, bool, true, \ 167 P(use_cha_deopt, bool, true, \
162 "Use class hierarchy analysis even if it can cause deoptimization.") \ 168 "Use class hierarchy analysis even if it can cause deoptimization.") \
163 P(use_field_guards, bool, !USING_DBC, \ 169 P(use_field_guards, bool, !USING_DBC, \
164 "Use field guards and track field types") \ 170 "Use field guards and track field types") \
165 C(use_osr, false, true, bool, true, "Use OSR") \ 171 C(use_osr, false, !USING_PRECOMPILER, bool, !USING_PRECOMPILER, "Use OSR") \
166 P(verbose_gc, bool, false, "Enables verbose GC.") \ 172 P(verbose_gc, bool, false, "Enables verbose GC.") \
167 P(verbose_gc_hdr, int, 40, "Print verbose GC header interval.") \ 173 P(verbose_gc_hdr, int, 40, "Print verbose GC header interval.") \
168 R(verify_after_gc, false, bool, false, \ 174 R(verify_after_gc, false, bool, false, \
169 "Enables heap verification after GC.") \ 175 "Enables heap verification after GC.") \
170 R(verify_before_gc, false, bool, false, \ 176 R(verify_before_gc, false, bool, false, \
171 "Enables heap verification before GC.") \ 177 "Enables heap verification before GC.") \
172 D(verify_gc_contains, bool, false, \ 178 D(verify_gc_contains, bool, false, \
173 "Enables verification of address contains during GC.") \ 179 "Enables verification of address contains during GC.") \
174 D(verify_on_transition, bool, false, "Verify on dart <==> VM.") 180 D(verify_on_transition, bool, false, "Verify on dart <==> VM.")
175 181
176 #endif // RUNTIME_VM_FLAG_LIST_H_ 182 #endif // RUNTIME_VM_FLAG_LIST_H_
OLDNEW
« no previous file with comments | « runtime/vm/clustered_snapshot.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698