Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(468)

Side by Side Diff: runtime/vm/flow_graph_compiler.cc

Issue 1407393005: Get tools/test.py --noopt green. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « runtime/vm/dart_api_impl.cc ('k') | runtime/vm/object_test.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 DECLARE_FLAG(bool, use_field_guards); 69 DECLARE_FLAG(bool, use_field_guards);
70 DECLARE_FLAG(bool, use_cha_deopt); 70 DECLARE_FLAG(bool, use_cha_deopt);
71 DECLARE_FLAG(bool, use_osr); 71 DECLARE_FLAG(bool, use_osr);
72 DECLARE_FLAG(bool, warn_on_javascript_compatibility); 72 DECLARE_FLAG(bool, warn_on_javascript_compatibility);
73 DECLARE_FLAG(bool, print_stop_message); 73 DECLARE_FLAG(bool, print_stop_message);
74 DECLARE_FLAG(bool, lazy_dispatchers); 74 DECLARE_FLAG(bool, lazy_dispatchers);
75 DECLARE_FLAG(bool, interpret_irregexp); 75 DECLARE_FLAG(bool, interpret_irregexp);
76 DECLARE_FLAG(bool, enable_mirrors); 76 DECLARE_FLAG(bool, enable_mirrors);
77 DECLARE_FLAG(bool, link_natives_lazily); 77 DECLARE_FLAG(bool, link_natives_lazily);
78 78
79 bool FLAG_precompilation = false;
79 static void PrecompilationModeHandler(bool value) { 80 static void PrecompilationModeHandler(bool value) {
80 if (value) { 81 if (value) {
81 #if defined(TARGET_ARCH_IA32) 82 #if defined(TARGET_ARCH_IA32)
82 FATAL("Precompilation not supported on IA32"); 83 FATAL("Precompilation not supported on IA32");
83 #endif 84 #endif
85 FLAG_precompilation = true;
84 86
85 FLAG_always_megamorphic_calls = true; 87 FLAG_always_megamorphic_calls = true;
86 FLAG_polymorphic_with_deopt = false; 88 FLAG_polymorphic_with_deopt = false;
87 FLAG_optimization_counter_threshold = -1; 89 FLAG_optimization_counter_threshold = -1;
88 FLAG_use_field_guards = false; 90 FLAG_use_field_guards = false;
89 FLAG_use_osr = false; 91 FLAG_use_osr = false;
90 FLAG_emit_edge_counters = false; 92 FLAG_emit_edge_counters = false;
91 FLAG_support_debugger = false; 93 FLAG_support_debugger = false;
92 FLAG_ic_range_profiling = false; 94 FLAG_ic_range_profiling = false;
93 FLAG_collect_code = false; 95 FLAG_collect_code = false;
(...skipping 1722 matching lines...) Expand 10 before | Expand all | Expand 10 after
1816 1818
1817 1819
1818 void FlowGraphCompiler::FrameStateClear() { 1820 void FlowGraphCompiler::FrameStateClear() {
1819 ASSERT(!is_optimizing()); 1821 ASSERT(!is_optimizing());
1820 frame_state_.TruncateTo(0); 1822 frame_state_.TruncateTo(0);
1821 } 1823 }
1822 #endif 1824 #endif
1823 1825
1824 1826
1825 } // namespace dart 1827 } // namespace dart
OLDNEW
« no previous file with comments | « runtime/vm/dart_api_impl.cc ('k') | runtime/vm/object_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698