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

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

Issue 1682803005: VM: Remove dead code from flow graph optimizer. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: removed extra flag decl 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/compiler.cc ('k') | runtime/vm/flow_graph_optimizer.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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
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, emit_edge_counters); 56 DECLARE_FLAG(bool, emit_edge_counters);
57 DECLARE_FLAG(bool, fields_may_be_reset); 57 DECLARE_FLAG(bool, fields_may_be_reset);
58 DECLARE_FLAG(bool, guess_icdata_cid);
59 DECLARE_FLAG(bool, ic_range_profiling); 58 DECLARE_FLAG(bool, ic_range_profiling);
60 DECLARE_FLAG(bool, intrinsify); 59 DECLARE_FLAG(bool, intrinsify);
61 DECLARE_FLAG(bool, load_deferred_eagerly); 60 DECLARE_FLAG(bool, load_deferred_eagerly);
62 DECLARE_FLAG(int, optimization_counter_threshold); 61 DECLARE_FLAG(int, optimization_counter_threshold);
63 DECLARE_FLAG(bool, propagate_ic_data); 62 DECLARE_FLAG(bool, propagate_ic_data);
64 DECLARE_FLAG(int, regexp_optimization_counter_threshold); 63 DECLARE_FLAG(int, regexp_optimization_counter_threshold);
65 DECLARE_FLAG(int, reoptimization_counter_threshold); 64 DECLARE_FLAG(int, reoptimization_counter_threshold);
66 DECLARE_FLAG(int, stacktrace_every); 65 DECLARE_FLAG(int, stacktrace_every);
67 DECLARE_FLAG(charp, stacktrace_filter); 66 DECLARE_FLAG(charp, stacktrace_filter);
68 DECLARE_FLAG(bool, use_field_guards); 67 DECLARE_FLAG(bool, use_field_guards);
(...skipping 1815 matching lines...) Expand 10 before | Expand all | Expand 10 after
1884 1883
1885 1884
1886 void FlowGraphCompiler::FrameStateClear() { 1885 void FlowGraphCompiler::FrameStateClear() {
1887 ASSERT(!is_optimizing()); 1886 ASSERT(!is_optimizing());
1888 frame_state_.TruncateTo(0); 1887 frame_state_.TruncateTo(0);
1889 } 1888 }
1890 #endif 1889 #endif
1891 1890
1892 1891
1893 } // namespace dart 1892 } // namespace dart
OLDNEW
« no previous file with comments | « runtime/vm/compiler.cc ('k') | runtime/vm/flow_graph_optimizer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698