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

Side by Side Diff: runtime/vm/flow_graph_compiler.cc

Issue 1663863002: Add product mode: (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Reworked the flags setting: Moving to single file for all flag defintions. Created 4 years, 10 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/flags.cc ('k') | runtime/vm/handles.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 #include "vm/globals.h" // Needed here to get TARGET_ARCH_XXX. 5 #include "vm/globals.h" // Needed here to get TARGET_ARCH_XXX.
6 6
7 #include "vm/flow_graph_compiler.h" 7 #include "vm/flow_graph_compiler.h"
8 8
9 #include "vm/bit_vector.h" 9 #include "vm/bit_vector.h"
10 #include "vm/cha.h" 10 #include "vm/cha.h"
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 DEFINE_FLAG(bool, trace_inlining_intervals, false, 46 DEFINE_FLAG(bool, trace_inlining_intervals, false,
47 "Inlining interval diagnostics"); 47 "Inlining interval diagnostics");
48 DEFINE_FLAG(bool, use_megamorphic_stub, true, "Out of line megamorphic lookup"); 48 DEFINE_FLAG(bool, use_megamorphic_stub, true, "Out of line megamorphic lookup");
49 49
50 DECLARE_FLAG(bool, background_compilation); 50 DECLARE_FLAG(bool, background_compilation);
51 DECLARE_FLAG(bool, code_comments); 51 DECLARE_FLAG(bool, code_comments);
52 DECLARE_FLAG(bool, collect_dynamic_function_names); 52 DECLARE_FLAG(bool, collect_dynamic_function_names);
53 DECLARE_FLAG(bool, deoptimize_alot); 53 DECLARE_FLAG(bool, deoptimize_alot);
54 DECLARE_FLAG(int, deoptimize_every); 54 DECLARE_FLAG(int, deoptimize_every);
55 DECLARE_FLAG(charp, deoptimize_filter); 55 DECLARE_FLAG(charp, deoptimize_filter);
56 DECLARE_FLAG(bool, disassemble);
57 DECLARE_FLAG(bool, disassemble_optimized);
58 DECLARE_FLAG(bool, emit_edge_counters); 56 DECLARE_FLAG(bool, emit_edge_counters);
59 DECLARE_FLAG(bool, fields_may_be_reset); 57 DECLARE_FLAG(bool, fields_may_be_reset);
60 DECLARE_FLAG(bool, guess_icdata_cid); 58 DECLARE_FLAG(bool, guess_icdata_cid);
61 DECLARE_FLAG(bool, ic_range_profiling); 59 DECLARE_FLAG(bool, ic_range_profiling);
62 DECLARE_FLAG(bool, intrinsify); 60 DECLARE_FLAG(bool, intrinsify);
63 DECLARE_FLAG(bool, load_deferred_eagerly); 61 DECLARE_FLAG(bool, load_deferred_eagerly);
64 DECLARE_FLAG(int, optimization_counter_threshold); 62 DECLARE_FLAG(int, optimization_counter_threshold);
65 DECLARE_FLAG(bool, propagate_ic_data); 63 DECLARE_FLAG(bool, propagate_ic_data);
66 DECLARE_FLAG(int, regexp_optimization_counter_threshold); 64 DECLARE_FLAG(int, regexp_optimization_counter_threshold);
67 DECLARE_FLAG(int, reoptimization_counter_threshold); 65 DECLARE_FLAG(int, reoptimization_counter_threshold);
(...skipping 1810 matching lines...) Expand 10 before | Expand all | Expand 10 after
1878 1876
1879 1877
1880 void FlowGraphCompiler::FrameStateClear() { 1878 void FlowGraphCompiler::FrameStateClear() {
1881 ASSERT(!is_optimizing()); 1879 ASSERT(!is_optimizing());
1882 frame_state_.TruncateTo(0); 1880 frame_state_.TruncateTo(0);
1883 } 1881 }
1884 #endif 1882 #endif
1885 1883
1886 1884
1887 } // namespace dart 1885 } // namespace dart
OLDNEW
« no previous file with comments | « runtime/vm/flags.cc ('k') | runtime/vm/handles.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698