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 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
78 FLAG_reorder_basic_blocks = false; | 78 FLAG_reorder_basic_blocks = false; |
79 FLAG_use_field_guards = false; | 79 FLAG_use_field_guards = false; |
80 FLAG_use_cha_deopt = false; | 80 FLAG_use_cha_deopt = false; |
81 FLAG_unbox_numeric_fields = false; | 81 FLAG_unbox_numeric_fields = false; |
82 FLAG_enable_mirrors = false; | 82 FLAG_enable_mirrors = false; |
83 | 83 |
84 #if !defined(PRODUCT) && !defined(DART_PRECOMPILED_RUNTIME) | 84 #if !defined(PRODUCT) && !defined(DART_PRECOMPILED_RUNTIME) |
85 // Set flags affecting runtime accordingly for dart_bootstrap. | 85 // Set flags affecting runtime accordingly for dart_bootstrap. |
86 // These flags are constants with PRODUCT and DART_PRECOMPILED_RUNTIME. | 86 // These flags are constants with PRODUCT and DART_PRECOMPILED_RUNTIME. |
87 FLAG_collect_code = false; | 87 FLAG_collect_code = false; |
88 FLAG_support_debugger = false; | |
89 FLAG_deoptimize_alot = false; // Used in some tests. | 88 FLAG_deoptimize_alot = false; // Used in some tests. |
90 FLAG_deoptimize_every = 0; // Used in some tests. | 89 FLAG_deoptimize_every = 0; // Used in some tests. |
91 FLAG_load_deferred_eagerly = true; | 90 FLAG_load_deferred_eagerly = true; |
92 FLAG_print_stop_message = false; | 91 FLAG_print_stop_message = false; |
93 FLAG_use_osr = false; | 92 FLAG_use_osr = false; |
94 #endif | 93 #endif |
95 } | 94 } |
96 } | 95 } |
97 | 96 |
98 DEFINE_FLAG_HANDLER(PrecompilationModeHandler, | 97 DEFINE_FLAG_HANDLER(PrecompilationModeHandler, |
(...skipping 1841 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1940 return true; | 1939 return true; |
1941 } | 1940 } |
1942 | 1941 |
1943 void FlowGraphCompiler::FrameStateClear() { | 1942 void FlowGraphCompiler::FrameStateClear() { |
1944 ASSERT(!is_optimizing()); | 1943 ASSERT(!is_optimizing()); |
1945 frame_state_.TruncateTo(0); | 1944 frame_state_.TruncateTo(0); |
1946 } | 1945 } |
1947 #endif // defined(DEBUG) && !defined(TARGET_ARCH_DBC) | 1946 #endif // defined(DEBUG) && !defined(TARGET_ARCH_DBC) |
1948 | 1947 |
1949 } // namespace dart | 1948 } // namespace dart |
OLD | NEW |