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 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 FLAG_link_natives_lazily = true; | 83 FLAG_link_natives_lazily = true; |
84 FLAG_optimization_counter_threshold = -1; | 84 FLAG_optimization_counter_threshold = -1; |
85 FLAG_polymorphic_with_deopt = false; | 85 FLAG_polymorphic_with_deopt = false; |
86 FLAG_precompiled_mode = true; | 86 FLAG_precompiled_mode = true; |
87 FLAG_reorder_basic_blocks = false; | 87 FLAG_reorder_basic_blocks = false; |
88 FLAG_use_field_guards = false; | 88 FLAG_use_field_guards = false; |
89 FLAG_use_cha_deopt = false; | 89 FLAG_use_cha_deopt = false; |
90 FLAG_unbox_numeric_fields = false; | 90 FLAG_unbox_numeric_fields = false; |
91 | 91 |
92 #if !defined(PRODUCT) && !defined(DART_PRECOMPILED_RUNTIME) | 92 #if !defined(PRODUCT) && !defined(DART_PRECOMPILED_RUNTIME) |
93 // Set flags affecting runtime accordingly for dart_noopt. | 93 // Set flags affecting runtime accordingly for dart_bootstrap. |
| 94 // These flags are constants with PRODUCT and DART_PRECOMPILED_RUNTIME. |
94 FLAG_collect_code = false; | 95 FLAG_collect_code = false; |
95 FLAG_support_debugger = false; | 96 FLAG_support_debugger = false; |
96 FLAG_deoptimize_alot = false; // Used in some tests. | 97 FLAG_deoptimize_alot = false; // Used in some tests. |
97 FLAG_deoptimize_every = 0; // Used in some tests. | 98 FLAG_deoptimize_every = 0; // Used in some tests. |
98 FLAG_enable_mirrors = false; | 99 FLAG_enable_mirrors = false; |
99 FLAG_load_deferred_eagerly = true; | 100 FLAG_load_deferred_eagerly = true; |
100 FLAG_print_stop_message = false; | 101 FLAG_print_stop_message = false; |
101 FLAG_use_osr = false; | 102 FLAG_use_osr = false; |
102 #endif | 103 #endif |
103 } | 104 } |
(...skipping 1854 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1958 | 1959 |
1959 | 1960 |
1960 void FlowGraphCompiler::FrameStateClear() { | 1961 void FlowGraphCompiler::FrameStateClear() { |
1961 ASSERT(!is_optimizing()); | 1962 ASSERT(!is_optimizing()); |
1962 frame_state_.TruncateTo(0); | 1963 frame_state_.TruncateTo(0); |
1963 } | 1964 } |
1964 #endif // defined(DEBUG) && !defined(TARGET_ARCH_DBC) | 1965 #endif // defined(DEBUG) && !defined(TARGET_ARCH_DBC) |
1965 | 1966 |
1966 | 1967 |
1967 } // namespace dart | 1968 } // namespace dart |
OLD | NEW |