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 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
162 DEFINE_bool(trap_on_deopt, false, "put a break point before deoptimizing") | 162 DEFINE_bool(trap_on_deopt, false, "put a break point before deoptimizing") |
163 DEFINE_bool(deoptimize_uncommon_cases, true, "deoptimize uncommon cases") | 163 DEFINE_bool(deoptimize_uncommon_cases, true, "deoptimize uncommon cases") |
164 DEFINE_bool(polymorphic_inlining, true, "polymorphic inlining") | 164 DEFINE_bool(polymorphic_inlining, true, "polymorphic inlining") |
165 DEFINE_bool(use_osr, true, "use on-stack replacement") | 165 DEFINE_bool(use_osr, true, "use on-stack replacement") |
166 | 166 |
167 DEFINE_bool(trace_osr, false, "trace on-stack replacement") | 167 DEFINE_bool(trace_osr, false, "trace on-stack replacement") |
168 DEFINE_int(stress_runs, 0, "number of stress runs") | 168 DEFINE_int(stress_runs, 0, "number of stress runs") |
169 DEFINE_bool(optimize_closures, true, "optimize closures") | 169 DEFINE_bool(optimize_closures, true, "optimize closures") |
170 DEFINE_int(loop_weight, 1, "loop weight for representation inference") | 170 DEFINE_int(loop_weight, 1, "loop weight for representation inference") |
171 | 171 |
| 172 DEFINE_bool(optimize_for_in, false, |
| 173 "optimize functions containing for-in loops") |
| 174 |
172 // Experimental profiler changes. | 175 // Experimental profiler changes. |
173 DEFINE_bool(experimental_profiler, false, "enable all profiler experiments") | 176 DEFINE_bool(experimental_profiler, false, "enable all profiler experiments") |
174 DEFINE_bool(watch_ic_patching, false, "profiler considers IC stability") | 177 DEFINE_bool(watch_ic_patching, false, "profiler considers IC stability") |
175 DEFINE_int(frame_count, 2, "number of stack frames inspected by the profiler") | 178 DEFINE_int(frame_count, 2, "number of stack frames inspected by the profiler") |
176 DEFINE_bool(self_optimization, false, | 179 DEFINE_bool(self_optimization, false, |
177 "primitive functions trigger their own optimization") | 180 "primitive functions trigger their own optimization") |
178 DEFINE_bool(count_based_interrupts, false, | 181 DEFINE_bool(count_based_interrupts, false, |
179 "trigger profiler ticks based on counting instead of timing") | 182 "trigger profiler ticks based on counting instead of timing") |
180 DEFINE_bool(interrupt_at_exit, false, | 183 DEFINE_bool(interrupt_at_exit, false, |
181 "insert an interrupt check at function exit") | 184 "insert an interrupt check at function exit") |
(...skipping 408 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
590 #undef DEFINE_bool | 593 #undef DEFINE_bool |
591 #undef DEFINE_int | 594 #undef DEFINE_int |
592 #undef DEFINE_string | 595 #undef DEFINE_string |
593 #undef DEFINE_implication | 596 #undef DEFINE_implication |
594 | 597 |
595 #undef FLAG_MODE_DECLARE | 598 #undef FLAG_MODE_DECLARE |
596 #undef FLAG_MODE_DEFINE | 599 #undef FLAG_MODE_DEFINE |
597 #undef FLAG_MODE_DEFINE_DEFAULTS | 600 #undef FLAG_MODE_DEFINE_DEFAULTS |
598 #undef FLAG_MODE_META | 601 #undef FLAG_MODE_META |
599 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 602 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
OLD | NEW |