| 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 13 matching lines...) Expand all Loading... |
| 24 #include "vm/stack_frame.h" | 24 #include "vm/stack_frame.h" |
| 25 #include "vm/stub_code.h" | 25 #include "vm/stub_code.h" |
| 26 #include "vm/symbols.h" | 26 #include "vm/symbols.h" |
| 27 | 27 |
| 28 namespace dart { | 28 namespace dart { |
| 29 | 29 |
| 30 DEFINE_FLAG(bool, always_megamorphic_calls, false, | 30 DEFINE_FLAG(bool, always_megamorphic_calls, false, |
| 31 "Instance call always as megamorphic."); | 31 "Instance call always as megamorphic."); |
| 32 DEFINE_FLAG(bool, trace_inlining_intervals, false, | 32 DEFINE_FLAG(bool, trace_inlining_intervals, false, |
| 33 "Inlining interval diagnostics"); | 33 "Inlining interval diagnostics"); |
| 34 DEFINE_FLAG(bool, eager_info_computation, false, | |
| 35 "TRANSITIONAL: Eagerly compute local var descriptors."); | |
| 36 DEFINE_FLAG(bool, enable_simd_inline, true, | 34 DEFINE_FLAG(bool, enable_simd_inline, true, |
| 37 "Enable inlining of SIMD related method calls."); | 35 "Enable inlining of SIMD related method calls."); |
| 38 DEFINE_FLAG(int, min_optimization_counter_threshold, 5000, | 36 DEFINE_FLAG(int, min_optimization_counter_threshold, 5000, |
| 39 "The minimum invocation count for a function."); | 37 "The minimum invocation count for a function."); |
| 40 DEFINE_FLAG(int, optimization_counter_scale, 2000, | 38 DEFINE_FLAG(int, optimization_counter_scale, 2000, |
| 41 "The scale of invocation count, by size of the function."); | 39 "The scale of invocation count, by size of the function."); |
| 42 DEFINE_FLAG(bool, source_lines, false, "Emit source line as assembly comment."); | 40 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"); | 41 DEFINE_FLAG(bool, use_megamorphic_stub, true, "Out of line megamorphic lookup"); |
| 44 | 42 |
| 45 DECLARE_FLAG(bool, code_comments); | 43 DECLARE_FLAG(bool, code_comments); |
| (...skipping 1678 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1724 | 1722 |
| 1725 | 1723 |
| 1726 void FlowGraphCompiler::FrameStateClear() { | 1724 void FlowGraphCompiler::FrameStateClear() { |
| 1727 ASSERT(!is_optimizing()); | 1725 ASSERT(!is_optimizing()); |
| 1728 frame_state_.TruncateTo(0); | 1726 frame_state_.TruncateTo(0); |
| 1729 } | 1727 } |
| 1730 #endif | 1728 #endif |
| 1731 | 1729 |
| 1732 | 1730 |
| 1733 } // namespace dart | 1731 } // namespace dart |
| OLD | NEW |