| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
| 2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
| 3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
| 4 // met: | 4 // met: |
| 5 // | 5 // |
| 6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
| 7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
| 8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
| 9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
| 10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
| (...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 235 DEFINE_bool(unbox_double_arrays, true, "automatically unbox arrays of doubles") | 235 DEFINE_bool(unbox_double_arrays, true, "automatically unbox arrays of doubles") |
| 236 DEFINE_bool(string_slices, true, "use string slices") | 236 DEFINE_bool(string_slices, true, "use string slices") |
| 237 | 237 |
| 238 // Flags for Crankshaft. | 238 // Flags for Crankshaft. |
| 239 DEFINE_bool(crankshaft, true, "use crankshaft") | 239 DEFINE_bool(crankshaft, true, "use crankshaft") |
| 240 DEFINE_string(hydrogen_filter, "*", "optimization filter") | 240 DEFINE_string(hydrogen_filter, "*", "optimization filter") |
| 241 DEFINE_bool(use_range, true, "use hydrogen range analysis") | 241 DEFINE_bool(use_range, true, "use hydrogen range analysis") |
| 242 DEFINE_bool(use_gvn, true, "use hydrogen global value numbering") | 242 DEFINE_bool(use_gvn, true, "use hydrogen global value numbering") |
| 243 DEFINE_bool(use_canonicalizing, true, "use hydrogen instruction canonicalizing") | 243 DEFINE_bool(use_canonicalizing, true, "use hydrogen instruction canonicalizing") |
| 244 DEFINE_bool(use_inlining, true, "use function inlining") | 244 DEFINE_bool(use_inlining, true, "use function inlining") |
| 245 DEFINE_bool(use_escape_analysis, true, "use hydrogen escape analysis") | 245 DEFINE_bool(use_escape_analysis, false, "use hydrogen escape analysis") |
| 246 DEFINE_bool(use_allocation_folding, true, "use allocation folding") | 246 DEFINE_bool(use_allocation_folding, true, "use allocation folding") |
| 247 DEFINE_int(max_inlining_levels, 5, "maximum number of inlining levels") | 247 DEFINE_int(max_inlining_levels, 5, "maximum number of inlining levels") |
| 248 DEFINE_int(max_inlined_source_size, 600, | 248 DEFINE_int(max_inlined_source_size, 600, |
| 249 "maximum source size in bytes considered for a single inlining") | 249 "maximum source size in bytes considered for a single inlining") |
| 250 DEFINE_int(max_inlined_nodes, 196, | 250 DEFINE_int(max_inlined_nodes, 196, |
| 251 "maximum number of AST nodes considered for a single inlining") | 251 "maximum number of AST nodes considered for a single inlining") |
| 252 DEFINE_int(max_inlined_nodes_cumulative, 400, | 252 DEFINE_int(max_inlined_nodes_cumulative, 400, |
| 253 "maximum cumulative number of AST nodes considered for inlining") | 253 "maximum cumulative number of AST nodes considered for inlining") |
| 254 DEFINE_bool(loop_invariant_code_motion, true, "loop invariant code motion") | 254 DEFINE_bool(loop_invariant_code_motion, true, "loop invariant code motion") |
| 255 DEFINE_bool(fast_math, true, "faster (but maybe less accurate) math functions") | 255 DEFINE_bool(fast_math, true, "faster (but maybe less accurate) math functions") |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 289 DEFINE_bool(polymorphic_inlining, true, "polymorphic inlining") | 289 DEFINE_bool(polymorphic_inlining, true, "polymorphic inlining") |
| 290 DEFINE_bool(use_osr, true, "use on-stack replacement") | 290 DEFINE_bool(use_osr, true, "use on-stack replacement") |
| 291 DEFINE_bool(array_bounds_checks_elimination, true, | 291 DEFINE_bool(array_bounds_checks_elimination, true, |
| 292 "perform array bounds checks elimination") | 292 "perform array bounds checks elimination") |
| 293 DEFINE_bool(array_bounds_checks_hoisting, false, | 293 DEFINE_bool(array_bounds_checks_hoisting, false, |
| 294 "perform array bounds checks hoisting") | 294 "perform array bounds checks hoisting") |
| 295 DEFINE_bool(array_index_dehoisting, true, | 295 DEFINE_bool(array_index_dehoisting, true, |
| 296 "perform array index dehoisting") | 296 "perform array index dehoisting") |
| 297 DEFINE_bool(analyze_environment_liveness, true, | 297 DEFINE_bool(analyze_environment_liveness, true, |
| 298 "analyze liveness of environment slots and zap dead values") | 298 "analyze liveness of environment slots and zap dead values") |
| 299 DEFINE_bool(load_elimination, false, "use load elimination") | 299 DEFINE_bool(load_elimination, true, "use load elimination") |
| 300 DEFINE_bool(check_elimination, false, "use check elimination") | 300 DEFINE_bool(check_elimination, false, "use check elimination") |
| 301 DEFINE_bool(dead_code_elimination, true, "use dead code elimination") | 301 DEFINE_bool(dead_code_elimination, true, "use dead code elimination") |
| 302 DEFINE_bool(fold_constants, true, "use constant folding") | 302 DEFINE_bool(fold_constants, true, "use constant folding") |
| 303 DEFINE_bool(trace_dead_code_elimination, false, "trace dead code elimination") | 303 DEFINE_bool(trace_dead_code_elimination, false, "trace dead code elimination") |
| 304 DEFINE_bool(unreachable_code_elimination, true, "eliminate unreachable code") | 304 DEFINE_bool(unreachable_code_elimination, true, "eliminate unreachable code") |
| 305 DEFINE_bool(track_allocation_sites, true, | 305 DEFINE_bool(track_allocation_sites, true, |
| 306 "Use allocation site info to reduce transitions") | 306 "Use allocation site info to reduce transitions") |
| 307 DEFINE_bool(trace_osr, false, "trace on-stack replacement") | 307 DEFINE_bool(trace_osr, false, "trace on-stack replacement") |
| 308 DEFINE_int(stress_runs, 0, "number of stress runs") | 308 DEFINE_int(stress_runs, 0, "number of stress runs") |
| 309 DEFINE_bool(optimize_closures, true, "optimize closures") | 309 DEFINE_bool(optimize_closures, true, "optimize closures") |
| (...skipping 28 matching lines...) Expand all Loading... |
| 338 DEFINE_bool(block_concurrent_recompilation, false, | 338 DEFINE_bool(block_concurrent_recompilation, false, |
| 339 "block queued jobs until released") | 339 "block queued jobs until released") |
| 340 DEFINE_bool(concurrent_osr, false, | 340 DEFINE_bool(concurrent_osr, false, |
| 341 "concurrent on-stack replacement") | 341 "concurrent on-stack replacement") |
| 342 DEFINE_implication(concurrent_osr, concurrent_recompilation) | 342 DEFINE_implication(concurrent_osr, concurrent_recompilation) |
| 343 | 343 |
| 344 DEFINE_bool(omit_map_checks_for_leaf_maps, true, | 344 DEFINE_bool(omit_map_checks_for_leaf_maps, true, |
| 345 "do not emit check maps for constant values that have a leaf map, " | 345 "do not emit check maps for constant values that have a leaf map, " |
| 346 "deoptimize the optimized code if the layout of the maps changes.") | 346 "deoptimize the optimized code if the layout of the maps changes.") |
| 347 | 347 |
| 348 DEFINE_bool(new_string_add, false, "enable new string addition") | 348 DEFINE_bool(new_string_add, true, "enable new string addition") |
| 349 | 349 |
| 350 // Experimental profiler changes. | 350 // Experimental profiler changes. |
| 351 DEFINE_bool(experimental_profiler, true, "enable all profiler experiments") | 351 DEFINE_bool(experimental_profiler, true, "enable all profiler experiments") |
| 352 DEFINE_bool(watch_ic_patching, false, "profiler considers IC stability") | 352 DEFINE_bool(watch_ic_patching, false, "profiler considers IC stability") |
| 353 DEFINE_int(frame_count, 1, "number of stack frames inspected by the profiler") | 353 DEFINE_int(frame_count, 1, "number of stack frames inspected by the profiler") |
| 354 DEFINE_bool(self_optimization, false, | 354 DEFINE_bool(self_optimization, false, |
| 355 "primitive functions trigger their own optimization") | 355 "primitive functions trigger their own optimization") |
| 356 DEFINE_bool(direct_self_opt, false, | 356 DEFINE_bool(direct_self_opt, false, |
| 357 "call recompile stub directly when self-optimizing") | 357 "call recompile stub directly when self-optimizing") |
| 358 DEFINE_bool(retry_self_opt, false, "re-try self-optimization if it failed") | 358 DEFINE_bool(retry_self_opt, false, "re-try self-optimization if it failed") |
| (...skipping 560 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 919 #undef DEFINE_ALIAS_float | 919 #undef DEFINE_ALIAS_float |
| 920 #undef DEFINE_ALIAS_args | 920 #undef DEFINE_ALIAS_args |
| 921 | 921 |
| 922 #undef FLAG_MODE_DECLARE | 922 #undef FLAG_MODE_DECLARE |
| 923 #undef FLAG_MODE_DEFINE | 923 #undef FLAG_MODE_DEFINE |
| 924 #undef FLAG_MODE_DEFINE_DEFAULTS | 924 #undef FLAG_MODE_DEFINE_DEFAULTS |
| 925 #undef FLAG_MODE_META | 925 #undef FLAG_MODE_META |
| 926 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 926 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
| 927 | 927 |
| 928 #undef COMMA | 928 #undef COMMA |
| OLD | NEW |