| 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 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 218 DEFINE_bool(cache_optimized_code, true, | 218 DEFINE_bool(cache_optimized_code, true, |
| 219 "cache optimized code for closures") | 219 "cache optimized code for closures") |
| 220 DEFINE_bool(inline_construct, true, "inline constructor calls") | 220 DEFINE_bool(inline_construct, true, "inline constructor calls") |
| 221 DEFINE_bool(inline_arguments, true, "inline functions with arguments object") | 221 DEFINE_bool(inline_arguments, true, "inline functions with arguments object") |
| 222 DEFINE_bool(inline_accessors, true, "inline JavaScript accessors") | 222 DEFINE_bool(inline_accessors, true, "inline JavaScript accessors") |
| 223 DEFINE_int(loop_weight, 1, "loop weight for representation inference") | 223 DEFINE_int(loop_weight, 1, "loop weight for representation inference") |
| 224 | 224 |
| 225 DEFINE_bool(optimize_for_in, true, | 225 DEFINE_bool(optimize_for_in, true, |
| 226 "optimize functions containing for-in loops") | 226 "optimize functions containing for-in loops") |
| 227 DEFINE_bool(opt_safe_uint32_operations, true, | 227 DEFINE_bool(opt_safe_uint32_operations, true, |
| 228 "allow uint32 values on optimize frames if they are used only in" | 228 "allow uint32 values on optimize frames if they are used only in " |
| 229 "safe operations") | 229 "safe operations") |
| 230 | 230 |
| 231 DEFINE_bool(parallel_recompilation, false, | 231 DEFINE_bool(parallel_recompilation, false, |
| 232 "optimizing hot functions asynchronously on a separate thread") | 232 "optimizing hot functions asynchronously on a separate thread") |
| 233 DEFINE_bool(trace_parallel_recompilation, false, "track parallel recompilation") | 233 DEFINE_bool(trace_parallel_recompilation, false, "track parallel recompilation") |
| 234 DEFINE_int(parallel_recompilation_queue_length, 2, | 234 DEFINE_int(parallel_recompilation_queue_length, 2, |
| 235 "the length of the parallel compilation queue") | 235 "the length of the parallel compilation queue") |
| 236 DEFINE_bool(manual_parallel_recompilation, false, |
| 237 "disable automatic optimization") |
| 238 DEFINE_implication(manual_parallel_recompilation, parallel_recompilation) |
| 236 | 239 |
| 237 // Experimental profiler changes. | 240 // Experimental profiler changes. |
| 238 DEFINE_bool(experimental_profiler, true, "enable all profiler experiments") | 241 DEFINE_bool(experimental_profiler, true, "enable all profiler experiments") |
| 239 DEFINE_bool(watch_ic_patching, false, "profiler considers IC stability") | 242 DEFINE_bool(watch_ic_patching, false, "profiler considers IC stability") |
| 240 DEFINE_int(frame_count, 1, "number of stack frames inspected by the profiler") | 243 DEFINE_int(frame_count, 1, "number of stack frames inspected by the profiler") |
| 241 DEFINE_bool(self_optimization, false, | 244 DEFINE_bool(self_optimization, false, |
| 242 "primitive functions trigger their own optimization") | 245 "primitive functions trigger their own optimization") |
| 243 DEFINE_bool(direct_self_opt, false, | 246 DEFINE_bool(direct_self_opt, false, |
| 244 "call recompile stub directly when self-optimizing") | 247 "call recompile stub directly when self-optimizing") |
| 245 DEFINE_bool(retry_self_opt, false, "re-try self-optimization if it failed") | 248 DEFINE_bool(retry_self_opt, false, "re-try self-optimization if it failed") |
| (...skipping 465 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 711 #undef DEFINE_bool | 714 #undef DEFINE_bool |
| 712 #undef DEFINE_int | 715 #undef DEFINE_int |
| 713 #undef DEFINE_string | 716 #undef DEFINE_string |
| 714 #undef DEFINE_implication | 717 #undef DEFINE_implication |
| 715 | 718 |
| 716 #undef FLAG_MODE_DECLARE | 719 #undef FLAG_MODE_DECLARE |
| 717 #undef FLAG_MODE_DEFINE | 720 #undef FLAG_MODE_DEFINE |
| 718 #undef FLAG_MODE_DEFINE_DEFAULTS | 721 #undef FLAG_MODE_DEFINE_DEFAULTS |
| 719 #undef FLAG_MODE_META | 722 #undef FLAG_MODE_META |
| 720 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 723 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
| OLD | NEW |