| 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 192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 203 DEFINE_bool(trace_osr, false, "trace on-stack replacement") | 203 DEFINE_bool(trace_osr, false, "trace on-stack replacement") |
| 204 DEFINE_int(stress_runs, 0, "number of stress runs") | 204 DEFINE_int(stress_runs, 0, "number of stress runs") |
| 205 DEFINE_bool(optimize_closures, true, "optimize closures") | 205 DEFINE_bool(optimize_closures, true, "optimize closures") |
| 206 DEFINE_bool(inline_construct, true, "inline constructor calls") | 206 DEFINE_bool(inline_construct, true, "inline constructor calls") |
| 207 DEFINE_bool(inline_arguments, true, "inline functions with arguments object") | 207 DEFINE_bool(inline_arguments, true, "inline functions with arguments object") |
| 208 DEFINE_int(loop_weight, 1, "loop weight for representation inference") | 208 DEFINE_int(loop_weight, 1, "loop weight for representation inference") |
| 209 | 209 |
| 210 DEFINE_bool(optimize_for_in, true, | 210 DEFINE_bool(optimize_for_in, true, |
| 211 "optimize functions containing for-in loops") | 211 "optimize functions containing for-in loops") |
| 212 | 212 |
| 213 DEFINE_bool(optimize_in_parallel, false, "optimize functions on a separate " |
| 214 "thread") |
| 215 |
| 213 // Experimental profiler changes. | 216 // Experimental profiler changes. |
| 214 DEFINE_bool(experimental_profiler, true, "enable all profiler experiments") | 217 DEFINE_bool(experimental_profiler, true, "enable all profiler experiments") |
| 215 DEFINE_bool(watch_ic_patching, false, "profiler considers IC stability") | 218 DEFINE_bool(watch_ic_patching, false, "profiler considers IC stability") |
| 216 DEFINE_int(frame_count, 1, "number of stack frames inspected by the profiler") | 219 DEFINE_int(frame_count, 1, "number of stack frames inspected by the profiler") |
| 217 DEFINE_bool(self_optimization, false, | 220 DEFINE_bool(self_optimization, false, |
| 218 "primitive functions trigger their own optimization") | 221 "primitive functions trigger their own optimization") |
| 219 DEFINE_bool(direct_self_opt, false, | 222 DEFINE_bool(direct_self_opt, false, |
| 220 "call recompile stub directly when self-optimizing") | 223 "call recompile stub directly when self-optimizing") |
| 221 DEFINE_bool(retry_self_opt, false, "re-try self-optimization if it failed") | 224 DEFINE_bool(retry_self_opt, false, "re-try self-optimization if it failed") |
| 222 DEFINE_bool(count_based_interrupts, false, | 225 DEFINE_bool(count_based_interrupts, false, |
| (...skipping 432 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 655 #undef DEFINE_bool | 658 #undef DEFINE_bool |
| 656 #undef DEFINE_int | 659 #undef DEFINE_int |
| 657 #undef DEFINE_string | 660 #undef DEFINE_string |
| 658 #undef DEFINE_implication | 661 #undef DEFINE_implication |
| 659 | 662 |
| 660 #undef FLAG_MODE_DECLARE | 663 #undef FLAG_MODE_DECLARE |
| 661 #undef FLAG_MODE_DEFINE | 664 #undef FLAG_MODE_DEFINE |
| 662 #undef FLAG_MODE_DEFINE_DEFAULTS | 665 #undef FLAG_MODE_DEFINE_DEFAULTS |
| 663 #undef FLAG_MODE_META | 666 #undef FLAG_MODE_META |
| 664 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 667 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
| OLD | NEW |