OLD | NEW |
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 30 matching lines...) Expand all Loading... |
41 "The scale of invocation count, by size of the function."); | 41 "The scale of invocation count, by size of the function."); |
42 DEFINE_FLAG(bool, source_lines, false, "Emit source line as assembly comment."); | 42 DEFINE_FLAG(bool, source_lines, false, "Emit source line as assembly comment."); |
43 DEFINE_FLAG(bool, use_megamorphic_stub, true, "Out of line megamorphic lookup"); | 43 DEFINE_FLAG(bool, use_megamorphic_stub, true, "Out of line megamorphic lookup"); |
44 | 44 |
45 DECLARE_FLAG(bool, code_comments); | 45 DECLARE_FLAG(bool, code_comments); |
46 DECLARE_FLAG(int, deoptimize_every); | 46 DECLARE_FLAG(int, deoptimize_every); |
47 DECLARE_FLAG(charp, deoptimize_filter); | 47 DECLARE_FLAG(charp, deoptimize_filter); |
48 DECLARE_FLAG(bool, disassemble); | 48 DECLARE_FLAG(bool, disassemble); |
49 DECLARE_FLAG(bool, disassemble_optimized); | 49 DECLARE_FLAG(bool, disassemble_optimized); |
50 DECLARE_FLAG(bool, emit_edge_counters); | 50 DECLARE_FLAG(bool, emit_edge_counters); |
51 DECLARE_FLAG(bool, enable_type_checks); | |
52 DECLARE_FLAG(bool, intrinsify); | 51 DECLARE_FLAG(bool, intrinsify); |
53 DECLARE_FLAG(int, optimization_counter_threshold); | 52 DECLARE_FLAG(int, optimization_counter_threshold); |
54 DECLARE_FLAG(bool, propagate_ic_data); | 53 DECLARE_FLAG(bool, propagate_ic_data); |
55 DECLARE_FLAG(int, regexp_optimization_counter_threshold); | 54 DECLARE_FLAG(int, regexp_optimization_counter_threshold); |
56 DECLARE_FLAG(int, reoptimization_counter_threshold); | 55 DECLARE_FLAG(int, reoptimization_counter_threshold); |
57 DECLARE_FLAG(int, stacktrace_every); | 56 DECLARE_FLAG(int, stacktrace_every); |
58 DECLARE_FLAG(charp, stacktrace_filter); | 57 DECLARE_FLAG(charp, stacktrace_filter); |
59 DECLARE_FLAG(bool, support_debugger); | 58 DECLARE_FLAG(bool, support_debugger); |
60 DECLARE_FLAG(bool, use_cha); | 59 DECLARE_FLAG(bool, use_cha); |
61 DECLARE_FLAG(bool, use_field_guards); | 60 DECLARE_FLAG(bool, use_field_guards); |
(...skipping 1663 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1725 | 1724 |
1726 | 1725 |
1727 void FlowGraphCompiler::FrameStateClear() { | 1726 void FlowGraphCompiler::FrameStateClear() { |
1728 ASSERT(!is_optimizing()); | 1727 ASSERT(!is_optimizing()); |
1729 frame_state_.TruncateTo(0); | 1728 frame_state_.TruncateTo(0); |
1730 } | 1729 } |
1731 #endif | 1730 #endif |
1732 | 1731 |
1733 | 1732 |
1734 } // namespace dart | 1733 } // namespace dart |
OLD | NEW |