OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // This file defines all of the flags. It is separated into different section, | 5 // This file defines all of the flags. It is separated into different section, |
6 // for Debug, Release, Logging and Profiling, etc. To add a new flag, find the | 6 // for Debug, Release, Logging and Profiling, etc. To add a new flag, find the |
7 // correct section, and use one of the DEFINE_ macros, without a trailing ';'. | 7 // correct section, and use one of the DEFINE_ macros, without a trailing ';'. |
8 // | 8 // |
9 // This include does not have a guard, because it is a template-style include, | 9 // This include does not have a guard, because it is a template-style include, |
10 // which can be included multiple times in different modes. It expects to have | 10 // which can be included multiple times in different modes. It expects to have |
(...skipping 279 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
290 DEFINE_INT(max_inlined_nodes, 196, | 290 DEFINE_INT(max_inlined_nodes, 196, |
291 "maximum number of AST nodes considered for a single inlining") | 291 "maximum number of AST nodes considered for a single inlining") |
292 DEFINE_INT(max_inlined_nodes_cumulative, 400, | 292 DEFINE_INT(max_inlined_nodes_cumulative, 400, |
293 "maximum cumulative number of AST nodes considered for inlining") | 293 "maximum cumulative number of AST nodes considered for inlining") |
294 DEFINE_BOOL(loop_invariant_code_motion, true, "loop invariant code motion") | 294 DEFINE_BOOL(loop_invariant_code_motion, true, "loop invariant code motion") |
295 DEFINE_BOOL(fast_math, true, "faster (but maybe less accurate) math functions") | 295 DEFINE_BOOL(fast_math, true, "faster (but maybe less accurate) math functions") |
296 DEFINE_BOOL(collect_megamorphic_maps_from_stub_cache, true, | 296 DEFINE_BOOL(collect_megamorphic_maps_from_stub_cache, true, |
297 "crankshaft harvests type feedback from stub cache") | 297 "crankshaft harvests type feedback from stub cache") |
298 DEFINE_BOOL(hydrogen_stats, false, "print statistics for hydrogen") | 298 DEFINE_BOOL(hydrogen_stats, false, "print statistics for hydrogen") |
299 DEFINE_BOOL(trace_check_elimination, false, "trace check elimination phase") | 299 DEFINE_BOOL(trace_check_elimination, false, "trace check elimination phase") |
| 300 DEFINE_BOOL(trace_environment_liveness, false, |
| 301 "trace liveness of local variable slots") |
300 DEFINE_BOOL(trace_hydrogen, false, "trace generated hydrogen to file") | 302 DEFINE_BOOL(trace_hydrogen, false, "trace generated hydrogen to file") |
301 DEFINE_STRING(trace_hydrogen_filter, "*", "hydrogen tracing filter") | 303 DEFINE_STRING(trace_hydrogen_filter, "*", "hydrogen tracing filter") |
302 DEFINE_BOOL(trace_hydrogen_stubs, false, "trace generated hydrogen for stubs") | 304 DEFINE_BOOL(trace_hydrogen_stubs, false, "trace generated hydrogen for stubs") |
303 DEFINE_STRING(trace_hydrogen_file, NULL, "trace hydrogen to given file name") | 305 DEFINE_STRING(trace_hydrogen_file, NULL, "trace hydrogen to given file name") |
304 DEFINE_STRING(trace_phase, "HLZ", "trace generated IR for specified phases") | 306 DEFINE_STRING(trace_phase, "HLZ", "trace generated IR for specified phases") |
305 DEFINE_BOOL(trace_inlining, false, "trace inlining decisions") | 307 DEFINE_BOOL(trace_inlining, false, "trace inlining decisions") |
306 DEFINE_BOOL(trace_load_elimination, false, "trace load elimination") | 308 DEFINE_BOOL(trace_load_elimination, false, "trace load elimination") |
307 DEFINE_BOOL(trace_store_elimination, false, "trace store elimination") | 309 DEFINE_BOOL(trace_store_elimination, false, "trace store elimination") |
308 DEFINE_BOOL(trace_alloc, false, "trace register allocator") | 310 DEFINE_BOOL(trace_alloc, false, "trace register allocator") |
309 DEFINE_BOOL(trace_all_uses, false, "trace all use positions") | 311 DEFINE_BOOL(trace_all_uses, false, "trace all use positions") |
(...skipping 723 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1033 #undef DEFINE_ALIAS_FLOAT | 1035 #undef DEFINE_ALIAS_FLOAT |
1034 #undef DEFINE_ALIAS_ARGS | 1036 #undef DEFINE_ALIAS_ARGS |
1035 | 1037 |
1036 #undef FLAG_MODE_DECLARE | 1038 #undef FLAG_MODE_DECLARE |
1037 #undef FLAG_MODE_DEFINE | 1039 #undef FLAG_MODE_DEFINE |
1038 #undef FLAG_MODE_DEFINE_DEFAULTS | 1040 #undef FLAG_MODE_DEFINE_DEFAULTS |
1039 #undef FLAG_MODE_META | 1041 #undef FLAG_MODE_META |
1040 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1042 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1041 | 1043 |
1042 #undef COMMA | 1044 #undef COMMA |
OLD | NEW |