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 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
193 DEFINE_int(stress_runs, 0, "number of stress runs") | 193 DEFINE_int(stress_runs, 0, "number of stress runs") |
194 DEFINE_bool(optimize_closures, true, "optimize closures") | 194 DEFINE_bool(optimize_closures, true, "optimize closures") |
195 DEFINE_bool(inline_construct, true, "inline constructor calls") | 195 DEFINE_bool(inline_construct, true, "inline constructor calls") |
196 DEFINE_bool(inline_arguments, true, "inline functions with arguments object") | 196 DEFINE_bool(inline_arguments, true, "inline functions with arguments object") |
197 DEFINE_int(loop_weight, 1, "loop weight for representation inference") | 197 DEFINE_int(loop_weight, 1, "loop weight for representation inference") |
198 | 198 |
199 DEFINE_bool(optimize_for_in, true, | 199 DEFINE_bool(optimize_for_in, true, |
200 "optimize functions containing for-in loops") | 200 "optimize functions containing for-in loops") |
201 | 201 |
202 // Experimental profiler changes. | 202 // Experimental profiler changes. |
203 DEFINE_bool(experimental_profiler, false, "enable all profiler experiments") | 203 DEFINE_bool(experimental_profiler, true, "enable all profiler experiments") |
204 DEFINE_bool(watch_ic_patching, false, "profiler considers IC stability") | 204 DEFINE_bool(watch_ic_patching, false, "profiler considers IC stability") |
205 DEFINE_int(frame_count, 1, "number of stack frames inspected by the profiler") | 205 DEFINE_int(frame_count, 1, "number of stack frames inspected by the profiler") |
206 DEFINE_bool(self_optimization, false, | 206 DEFINE_bool(self_optimization, false, |
207 "primitive functions trigger their own optimization") | 207 "primitive functions trigger their own optimization") |
208 DEFINE_bool(direct_self_opt, false, | 208 DEFINE_bool(direct_self_opt, false, |
209 "call recompile stub directly when self-optimizing") | 209 "call recompile stub directly when self-optimizing") |
210 DEFINE_bool(retry_self_opt, false, "re-try self-optimization if it failed") | 210 DEFINE_bool(retry_self_opt, false, "re-try self-optimization if it failed") |
211 DEFINE_bool(count_based_interrupts, false, | 211 DEFINE_bool(count_based_interrupts, false, |
212 "trigger profiler ticks based on counting instead of timing") | 212 "trigger profiler ticks based on counting instead of timing") |
213 DEFINE_bool(interrupt_at_exit, false, | 213 DEFINE_bool(interrupt_at_exit, false, |
(...skipping 425 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
639 #undef DEFINE_bool | 639 #undef DEFINE_bool |
640 #undef DEFINE_int | 640 #undef DEFINE_int |
641 #undef DEFINE_string | 641 #undef DEFINE_string |
642 #undef DEFINE_implication | 642 #undef DEFINE_implication |
643 | 643 |
644 #undef FLAG_MODE_DECLARE | 644 #undef FLAG_MODE_DECLARE |
645 #undef FLAG_MODE_DEFINE | 645 #undef FLAG_MODE_DEFINE |
646 #undef FLAG_MODE_DEFINE_DEFAULTS | 646 #undef FLAG_MODE_DEFINE_DEFAULTS |
647 #undef FLAG_MODE_META | 647 #undef FLAG_MODE_META |
648 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 648 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
OLD | NEW |