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 289 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
300 DEFINE_bool(parallel_recompilation, true, | 300 DEFINE_bool(parallel_recompilation, true, |
301 "optimizing hot functions asynchronously on a separate thread") | 301 "optimizing hot functions asynchronously on a separate thread") |
302 DEFINE_bool(trace_parallel_recompilation, false, "track parallel recompilation") | 302 DEFINE_bool(trace_parallel_recompilation, false, "track parallel recompilation") |
303 DEFINE_int(parallel_recompilation_queue_length, 8, | 303 DEFINE_int(parallel_recompilation_queue_length, 8, |
304 "the length of the parallel compilation queue") | 304 "the length of the parallel compilation queue") |
305 DEFINE_int(parallel_recompilation_delay, 0, | 305 DEFINE_int(parallel_recompilation_delay, 0, |
306 "artificial compilation delay in ms") | 306 "artificial compilation delay in ms") |
307 DEFINE_bool(omit_prototype_checks_for_leaf_maps, true, | 307 DEFINE_bool(omit_prototype_checks_for_leaf_maps, true, |
308 "do not emit prototype checks if all prototypes have leaf maps, " | 308 "do not emit prototype checks if all prototypes have leaf maps, " |
309 "deoptimize the optimized code if the layout of the maps changes.") | 309 "deoptimize the optimized code if the layout of the maps changes.") |
| 310 DEFINE_bool(omit_check_maps_for_leaf_maps, true, |
| 311 "do not emit check maps for constant values that have a leaf map, " |
| 312 "deoptimize the optimized code if the layout of the maps changes.") |
310 | 313 |
311 // Experimental profiler changes. | 314 // Experimental profiler changes. |
312 DEFINE_bool(experimental_profiler, true, "enable all profiler experiments") | 315 DEFINE_bool(experimental_profiler, true, "enable all profiler experiments") |
313 DEFINE_bool(watch_ic_patching, false, "profiler considers IC stability") | 316 DEFINE_bool(watch_ic_patching, false, "profiler considers IC stability") |
314 DEFINE_int(frame_count, 1, "number of stack frames inspected by the profiler") | 317 DEFINE_int(frame_count, 1, "number of stack frames inspected by the profiler") |
315 DEFINE_bool(self_optimization, false, | 318 DEFINE_bool(self_optimization, false, |
316 "primitive functions trigger their own optimization") | 319 "primitive functions trigger their own optimization") |
317 DEFINE_bool(direct_self_opt, false, | 320 DEFINE_bool(direct_self_opt, false, |
318 "call recompile stub directly when self-optimizing") | 321 "call recompile stub directly when self-optimizing") |
319 DEFINE_bool(retry_self_opt, false, "re-try self-optimization if it failed") | 322 DEFINE_bool(retry_self_opt, false, "re-try self-optimization if it failed") |
(...skipping 487 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
807 #undef DEFINE_bool | 810 #undef DEFINE_bool |
808 #undef DEFINE_int | 811 #undef DEFINE_int |
809 #undef DEFINE_string | 812 #undef DEFINE_string |
810 #undef DEFINE_implication | 813 #undef DEFINE_implication |
811 | 814 |
812 #undef FLAG_MODE_DECLARE | 815 #undef FLAG_MODE_DECLARE |
813 #undef FLAG_MODE_DEFINE | 816 #undef FLAG_MODE_DEFINE |
814 #undef FLAG_MODE_DEFINE_DEFAULTS | 817 #undef FLAG_MODE_DEFINE_DEFAULTS |
815 #undef FLAG_MODE_META | 818 #undef FLAG_MODE_META |
816 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 819 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
OLD | NEW |