| 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 314 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 325             "eliminate write barriers targeting allocations in optimized code") | 325             "eliminate write barriers targeting allocations in optimized code") | 
| 326 DEFINE_INT(max_inlining_levels, 5, "maximum number of inlining levels") | 326 DEFINE_INT(max_inlining_levels, 5, "maximum number of inlining levels") | 
| 327 DEFINE_INT(max_inlined_source_size, 600, | 327 DEFINE_INT(max_inlined_source_size, 600, | 
| 328            "maximum source size in bytes considered for a single inlining") | 328            "maximum source size in bytes considered for a single inlining") | 
| 329 DEFINE_INT(max_inlined_nodes, 196, | 329 DEFINE_INT(max_inlined_nodes, 196, | 
| 330            "maximum number of AST nodes considered for a single inlining") | 330            "maximum number of AST nodes considered for a single inlining") | 
| 331 DEFINE_INT(max_inlined_nodes_cumulative, 400, | 331 DEFINE_INT(max_inlined_nodes_cumulative, 400, | 
| 332            "maximum cumulative number of AST nodes considered for inlining") | 332            "maximum cumulative number of AST nodes considered for inlining") | 
| 333 DEFINE_BOOL(loop_invariant_code_motion, true, "loop invariant code motion") | 333 DEFINE_BOOL(loop_invariant_code_motion, true, "loop invariant code motion") | 
| 334 DEFINE_BOOL(fast_math, true, "faster (but maybe less accurate) math functions") | 334 DEFINE_BOOL(fast_math, true, "faster (but maybe less accurate) math functions") | 
| 335 DEFINE_BOOL(collect_megamorphic_maps_from_stub_cache, true, | 335 DEFINE_BOOL(collect_megamorphic_maps_from_stub_cache, false, | 
| 336             "crankshaft harvests type feedback from stub cache") | 336             "crankshaft harvests type feedback from stub cache") | 
| 337 DEFINE_BOOL(hydrogen_stats, false, "print statistics for hydrogen") | 337 DEFINE_BOOL(hydrogen_stats, false, "print statistics for hydrogen") | 
| 338 DEFINE_BOOL(trace_check_elimination, false, "trace check elimination phase") | 338 DEFINE_BOOL(trace_check_elimination, false, "trace check elimination phase") | 
| 339 DEFINE_BOOL(trace_environment_liveness, false, | 339 DEFINE_BOOL(trace_environment_liveness, false, | 
| 340             "trace liveness of local variable slots") | 340             "trace liveness of local variable slots") | 
| 341 DEFINE_BOOL(trace_hydrogen, false, "trace generated hydrogen to file") | 341 DEFINE_BOOL(trace_hydrogen, false, "trace generated hydrogen to file") | 
| 342 DEFINE_STRING(trace_hydrogen_filter, "*", "hydrogen tracing filter") | 342 DEFINE_STRING(trace_hydrogen_filter, "*", "hydrogen tracing filter") | 
| 343 DEFINE_BOOL(trace_hydrogen_stubs, false, "trace generated hydrogen for stubs") | 343 DEFINE_BOOL(trace_hydrogen_stubs, false, "trace generated hydrogen for stubs") | 
| 344 DEFINE_STRING(trace_hydrogen_file, NULL, "trace hydrogen to given file name") | 344 DEFINE_STRING(trace_hydrogen_file, NULL, "trace hydrogen to given file name") | 
| 345 DEFINE_STRING(trace_phase, "HLZ", "trace generated IR for specified phases") | 345 DEFINE_STRING(trace_phase, "HLZ", "trace generated IR for specified phases") | 
| (...skipping 806 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 1152 #undef DEFINE_ALIAS_FLOAT | 1152 #undef DEFINE_ALIAS_FLOAT | 
| 1153 #undef DEFINE_ALIAS_ARGS | 1153 #undef DEFINE_ALIAS_ARGS | 
| 1154 | 1154 | 
| 1155 #undef FLAG_MODE_DECLARE | 1155 #undef FLAG_MODE_DECLARE | 
| 1156 #undef FLAG_MODE_DEFINE | 1156 #undef FLAG_MODE_DEFINE | 
| 1157 #undef FLAG_MODE_DEFINE_DEFAULTS | 1157 #undef FLAG_MODE_DEFINE_DEFAULTS | 
| 1158 #undef FLAG_MODE_META | 1158 #undef FLAG_MODE_META | 
| 1159 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1159 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 
| 1160 | 1160 | 
| 1161 #undef COMMA | 1161 #undef COMMA | 
| OLD | NEW | 
|---|