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 227 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
238 "safe operations") | 238 "safe operations") |
239 | 239 |
240 DEFINE_bool(parallel_recompilation, false, | 240 DEFINE_bool(parallel_recompilation, false, |
241 "optimizing hot functions asynchronously on a separate thread") | 241 "optimizing hot functions asynchronously on a separate thread") |
242 DEFINE_bool(trace_parallel_recompilation, false, "track parallel recompilation") | 242 DEFINE_bool(trace_parallel_recompilation, false, "track parallel recompilation") |
243 DEFINE_int(parallel_recompilation_queue_length, 2, | 243 DEFINE_int(parallel_recompilation_queue_length, 2, |
244 "the length of the parallel compilation queue") | 244 "the length of the parallel compilation queue") |
245 DEFINE_bool(manual_parallel_recompilation, false, | 245 DEFINE_bool(manual_parallel_recompilation, false, |
246 "disable automatic optimization") | 246 "disable automatic optimization") |
247 DEFINE_implication(manual_parallel_recompilation, parallel_recompilation) | 247 DEFINE_implication(manual_parallel_recompilation, parallel_recompilation) |
| 248 DEFINE_bool(omit_prototype_checks_for_leaf_maps, true, |
| 249 "do not emit prototype checks if all prototypes have leaf maps, " |
| 250 "deoptimize the optimized code if the layout of the maps changes.") |
248 | 251 |
249 // Experimental profiler changes. | 252 // Experimental profiler changes. |
250 DEFINE_bool(experimental_profiler, true, "enable all profiler experiments") | 253 DEFINE_bool(experimental_profiler, true, "enable all profiler experiments") |
251 DEFINE_bool(watch_ic_patching, false, "profiler considers IC stability") | 254 DEFINE_bool(watch_ic_patching, false, "profiler considers IC stability") |
252 DEFINE_int(frame_count, 1, "number of stack frames inspected by the profiler") | 255 DEFINE_int(frame_count, 1, "number of stack frames inspected by the profiler") |
253 DEFINE_bool(self_optimization, false, | 256 DEFINE_bool(self_optimization, false, |
254 "primitive functions trigger their own optimization") | 257 "primitive functions trigger their own optimization") |
255 DEFINE_bool(direct_self_opt, false, | 258 DEFINE_bool(direct_self_opt, false, |
256 "call recompile stub directly when self-optimizing") | 259 "call recompile stub directly when self-optimizing") |
257 DEFINE_bool(retry_self_opt, false, "re-try self-optimization if it failed") | 260 DEFINE_bool(retry_self_opt, false, "re-try self-optimization if it failed") |
(...skipping 483 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
741 #undef DEFINE_bool | 744 #undef DEFINE_bool |
742 #undef DEFINE_int | 745 #undef DEFINE_int |
743 #undef DEFINE_string | 746 #undef DEFINE_string |
744 #undef DEFINE_implication | 747 #undef DEFINE_implication |
745 | 748 |
746 #undef FLAG_MODE_DECLARE | 749 #undef FLAG_MODE_DECLARE |
747 #undef FLAG_MODE_DEFINE | 750 #undef FLAG_MODE_DEFINE |
748 #undef FLAG_MODE_DEFINE_DEFAULTS | 751 #undef FLAG_MODE_DEFINE_DEFAULTS |
749 #undef FLAG_MODE_META | 752 #undef FLAG_MODE_META |
750 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 753 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
OLD | NEW |