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

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

Issue 1759913002: Make precompiler work with product mode. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: addressed comments Created 4 years, 9 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/code_generator.cc ('k') | runtime/vm/dart_api_impl.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) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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/compiler.h" 5 #include "vm/compiler.h"
6 6
7 #include "vm/assembler.h" 7 #include "vm/assembler.h"
8 8
9 #include "vm/ast_printer.h" 9 #include "vm/ast_printer.h"
10 #include "vm/block_scheduler.h" 10 #include "vm/block_scheduler.h"
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 "How many times we allow deoptimization before we disallow optimization."); 54 "How many times we allow deoptimization before we disallow optimization.");
55 DEFINE_FLAG(bool, loop_invariant_code_motion, true, 55 DEFINE_FLAG(bool, loop_invariant_code_motion, true,
56 "Do loop invariant code motion."); 56 "Do loop invariant code motion.");
57 DEFINE_FLAG(bool, print_flow_graph, false, "Print the IR flow graph."); 57 DEFINE_FLAG(bool, print_flow_graph, false, "Print the IR flow graph.");
58 DEFINE_FLAG(bool, print_flow_graph_optimized, false, 58 DEFINE_FLAG(bool, print_flow_graph_optimized, false,
59 "Print the IR flow graph when optimizing."); 59 "Print the IR flow graph when optimizing.");
60 DEFINE_FLAG(bool, print_ic_data_map, false, 60 DEFINE_FLAG(bool, print_ic_data_map, false,
61 "Print the deopt-id to ICData map in optimizing compiler."); 61 "Print the deopt-id to ICData map in optimizing compiler.");
62 DEFINE_FLAG(bool, print_code_source_map, false, "Print code source map."); 62 DEFINE_FLAG(bool, print_code_source_map, false, "Print code source map.");
63 DEFINE_FLAG(bool, range_analysis, true, "Enable range analysis"); 63 DEFINE_FLAG(bool, range_analysis, true, "Enable range analysis");
64 DEFINE_FLAG(bool, reorder_basic_blocks, true, "Enable basic-block reordering.");
65 DEFINE_FLAG(bool, trace_compiler, false, "Trace compiler operations."); 64 DEFINE_FLAG(bool, trace_compiler, false, "Trace compiler operations.");
66 DEFINE_FLAG(bool, trace_optimizing_compiler, false, 65 DEFINE_FLAG(bool, trace_optimizing_compiler, false,
67 "Trace only optimizing compiler operations."); 66 "Trace only optimizing compiler operations.");
68 DEFINE_FLAG(bool, trace_bailout, false, "Print bailout from ssa compiler."); 67 DEFINE_FLAG(bool, trace_bailout, false, "Print bailout from ssa compiler.");
69 DEFINE_FLAG(bool, use_inlining, true, "Enable call-site inlining"); 68 DEFINE_FLAG(bool, use_inlining, true, "Enable call-site inlining");
70 DEFINE_FLAG(bool, verify_compiler, false, 69 DEFINE_FLAG(bool, verify_compiler, false,
71 "Enable compiler verification assertions"); 70 "Enable compiler verification assertions");
72 71
73 DECLARE_FLAG(bool, huge_method_cutoff_in_code_size); 72 DECLARE_FLAG(bool, huge_method_cutoff_in_code_size);
74 DECLARE_FLAG(bool, trace_failed_optimization_attempts); 73 DECLARE_FLAG(bool, trace_failed_optimization_attempts);
(...skipping 1784 matching lines...) Expand 10 before | Expand all | Expand 10 after
1859 } 1858 }
1860 1859
1861 1860
1862 void BackgroundCompiler::EnsureInit(Thread* thread) { 1861 void BackgroundCompiler::EnsureInit(Thread* thread) {
1863 UNREACHABLE(); 1862 UNREACHABLE();
1864 } 1863 }
1865 1864
1866 #endif // DART_PRECOMPILED_RUNTIME 1865 #endif // DART_PRECOMPILED_RUNTIME
1867 1866
1868 } // namespace dart 1867 } // namespace dart
OLDNEW
« no previous file with comments | « runtime/vm/code_generator.cc ('k') | runtime/vm/dart_api_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698