| 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 283 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 294 DEFINE_INT(max_inlined_nodes, 196, | 294 DEFINE_INT(max_inlined_nodes, 196, |
| 295 "maximum number of AST nodes considered for a single inlining") | 295 "maximum number of AST nodes considered for a single inlining") |
| 296 DEFINE_INT(max_inlined_nodes_cumulative, 400, | 296 DEFINE_INT(max_inlined_nodes_cumulative, 400, |
| 297 "maximum cumulative number of AST nodes considered for inlining") | 297 "maximum cumulative number of AST nodes considered for inlining") |
| 298 DEFINE_BOOL(loop_invariant_code_motion, true, "loop invariant code motion") | 298 DEFINE_BOOL(loop_invariant_code_motion, true, "loop invariant code motion") |
| 299 DEFINE_BOOL(fast_math, true, "faster (but maybe less accurate) math functions") | 299 DEFINE_BOOL(fast_math, true, "faster (but maybe less accurate) math functions") |
| 300 DEFINE_BOOL(collect_megamorphic_maps_from_stub_cache, true, | 300 DEFINE_BOOL(collect_megamorphic_maps_from_stub_cache, true, |
| 301 "crankshaft harvests type feedback from stub cache") | 301 "crankshaft harvests type feedback from stub cache") |
| 302 DEFINE_BOOL(hydrogen_stats, false, "print statistics for hydrogen") | 302 DEFINE_BOOL(hydrogen_stats, false, "print statistics for hydrogen") |
| 303 DEFINE_BOOL(trace_check_elimination, false, "trace check elimination phase") | 303 DEFINE_BOOL(trace_check_elimination, false, "trace check elimination phase") |
| 304 DEFINE_BOOL(trace_environment_liveness, false, |
| 305 "trace liveness of local variable slots") |
| 304 DEFINE_BOOL(trace_hydrogen, false, "trace generated hydrogen to file") | 306 DEFINE_BOOL(trace_hydrogen, false, "trace generated hydrogen to file") |
| 305 DEFINE_STRING(trace_hydrogen_filter, "*", "hydrogen tracing filter") | 307 DEFINE_STRING(trace_hydrogen_filter, "*", "hydrogen tracing filter") |
| 306 DEFINE_BOOL(trace_hydrogen_stubs, false, "trace generated hydrogen for stubs") | 308 DEFINE_BOOL(trace_hydrogen_stubs, false, "trace generated hydrogen for stubs") |
| 307 DEFINE_STRING(trace_hydrogen_file, NULL, "trace hydrogen to given file name") | 309 DEFINE_STRING(trace_hydrogen_file, NULL, "trace hydrogen to given file name") |
| 308 DEFINE_STRING(trace_phase, "HLZ", "trace generated IR for specified phases") | 310 DEFINE_STRING(trace_phase, "HLZ", "trace generated IR for specified phases") |
| 309 DEFINE_BOOL(trace_inlining, false, "trace inlining decisions") | 311 DEFINE_BOOL(trace_inlining, false, "trace inlining decisions") |
| 310 DEFINE_BOOL(trace_load_elimination, false, "trace load elimination") | 312 DEFINE_BOOL(trace_load_elimination, false, "trace load elimination") |
| 311 DEFINE_BOOL(trace_store_elimination, false, "trace store elimination") | 313 DEFINE_BOOL(trace_store_elimination, false, "trace store elimination") |
| 312 DEFINE_BOOL(trace_alloc, false, "trace register allocator") | 314 DEFINE_BOOL(trace_alloc, false, "trace register allocator") |
| 313 DEFINE_BOOL(trace_all_uses, false, "trace all use positions") | 315 DEFINE_BOOL(trace_all_uses, false, "trace all use positions") |
| (...skipping 706 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1020 #undef DEFINE_ALIAS_FLOAT | 1022 #undef DEFINE_ALIAS_FLOAT |
| 1021 #undef DEFINE_ALIAS_ARGS | 1023 #undef DEFINE_ALIAS_ARGS |
| 1022 | 1024 |
| 1023 #undef FLAG_MODE_DECLARE | 1025 #undef FLAG_MODE_DECLARE |
| 1024 #undef FLAG_MODE_DEFINE | 1026 #undef FLAG_MODE_DEFINE |
| 1025 #undef FLAG_MODE_DEFINE_DEFAULTS | 1027 #undef FLAG_MODE_DEFINE_DEFAULTS |
| 1026 #undef FLAG_MODE_META | 1028 #undef FLAG_MODE_META |
| 1027 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1029 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
| 1028 | 1030 |
| 1029 #undef COMMA | 1031 #undef COMMA |
| OLD | NEW |