| 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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 76 FLAG_use_field_guards = false; | 76 FLAG_use_field_guards = false; |
| 77 FLAG_use_osr = false; | 77 FLAG_use_osr = false; |
| 78 FLAG_emit_edge_counters = false; | 78 FLAG_emit_edge_counters = false; |
| 79 FLAG_support_debugger = false; | 79 FLAG_support_debugger = false; |
| 80 FLAG_ic_range_profiling = false; | 80 FLAG_ic_range_profiling = false; |
| 81 FLAG_collect_code = false; | 81 FLAG_collect_code = false; |
| 82 FLAG_load_deferred_eagerly = true; | 82 FLAG_load_deferred_eagerly = true; |
| 83 FLAG_deoptimize_alot = false; // Used in some tests. | 83 FLAG_deoptimize_alot = false; // Used in some tests. |
| 84 FLAG_deoptimize_every = 0; // Used in some tests. | 84 FLAG_deoptimize_every = 0; // Used in some tests. |
| 85 FLAG_collect_code = false; | 85 FLAG_collect_code = false; |
| 86 FLAG_guess_other_cid = false; | 86 FLAG_guess_other_cid = true; |
| 87 Compiler::set_always_optimize(true); | 87 Compiler::set_always_optimize(true); |
| 88 // TODO(srdjan): Enable CHA deoptimization when eager class finalization is | 88 // TODO(srdjan): Enable CHA deoptimization when eager class finalization is |
| 89 // implemented, either with precompilation or as a special pass. | 89 // implemented, either with precompilation or as a special pass. |
| 90 FLAG_use_cha_deopt = false; | 90 FLAG_use_cha_deopt = false; |
| 91 } | 91 } |
| 92 } | 92 } |
| 93 | 93 |
| 94 | 94 |
| 95 // --noopt disables optimizer and tunes unoptimized code to run as fast | 95 // --noopt disables optimizer and tunes unoptimized code to run as fast |
| 96 // as possible. | 96 // as possible. |
| (...skipping 1679 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1776 | 1776 |
| 1777 | 1777 |
| 1778 void FlowGraphCompiler::FrameStateClear() { | 1778 void FlowGraphCompiler::FrameStateClear() { |
| 1779 ASSERT(!is_optimizing()); | 1779 ASSERT(!is_optimizing()); |
| 1780 frame_state_.TruncateTo(0); | 1780 frame_state_.TruncateTo(0); |
| 1781 } | 1781 } |
| 1782 #endif | 1782 #endif |
| 1783 | 1783 |
| 1784 | 1784 |
| 1785 } // namespace dart | 1785 } // namespace dart |
| OLD | NEW |