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 "deoptimize every n times a deopt point is passed") | 162 "deoptimize every n times a deopt point is passed") |
163 DEFINE_bool(trap_on_deopt, false, "put a break point before deoptimizing") | 163 DEFINE_bool(trap_on_deopt, false, "put a break point before deoptimizing") |
164 DEFINE_bool(deoptimize_uncommon_cases, true, "deoptimize uncommon cases") | 164 DEFINE_bool(deoptimize_uncommon_cases, true, "deoptimize uncommon cases") |
165 DEFINE_bool(polymorphic_inlining, true, "polymorphic inlining") | 165 DEFINE_bool(polymorphic_inlining, true, "polymorphic inlining") |
166 DEFINE_bool(use_osr, true, "use on-stack replacement") | 166 DEFINE_bool(use_osr, true, "use on-stack replacement") |
167 | 167 |
168 DEFINE_bool(trace_osr, false, "trace on-stack replacement") | 168 DEFINE_bool(trace_osr, false, "trace on-stack replacement") |
169 DEFINE_int(stress_runs, 0, "number of stress runs") | 169 DEFINE_int(stress_runs, 0, "number of stress runs") |
170 DEFINE_bool(optimize_closures, true, "optimize closures") | 170 DEFINE_bool(optimize_closures, true, "optimize closures") |
171 DEFINE_bool(inline_construct, true, "inline constructor calls") | 171 DEFINE_bool(inline_construct, true, "inline constructor calls") |
| 172 DEFINE_bool(inline_arguments, true, "inline functions with arguments object") |
172 DEFINE_int(loop_weight, 1, "loop weight for representation inference") | 173 DEFINE_int(loop_weight, 1, "loop weight for representation inference") |
173 | 174 |
174 DEFINE_bool(optimize_for_in, true, | 175 DEFINE_bool(optimize_for_in, true, |
175 "optimize functions containing for-in loops") | 176 "optimize functions containing for-in loops") |
176 | 177 |
177 // Experimental profiler changes. | 178 // Experimental profiler changes. |
178 DEFINE_bool(experimental_profiler, false, "enable all profiler experiments") | 179 DEFINE_bool(experimental_profiler, false, "enable all profiler experiments") |
179 DEFINE_bool(watch_ic_patching, false, "profiler considers IC stability") | 180 DEFINE_bool(watch_ic_patching, false, "profiler considers IC stability") |
180 DEFINE_int(frame_count, 2, "number of stack frames inspected by the profiler") | 181 DEFINE_int(frame_count, 2, "number of stack frames inspected by the profiler") |
181 DEFINE_bool(self_optimization, false, | 182 DEFINE_bool(self_optimization, false, |
(...skipping 425 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
607 #undef DEFINE_bool | 608 #undef DEFINE_bool |
608 #undef DEFINE_int | 609 #undef DEFINE_int |
609 #undef DEFINE_string | 610 #undef DEFINE_string |
610 #undef DEFINE_implication | 611 #undef DEFINE_implication |
611 | 612 |
612 #undef FLAG_MODE_DECLARE | 613 #undef FLAG_MODE_DECLARE |
613 #undef FLAG_MODE_DEFINE | 614 #undef FLAG_MODE_DEFINE |
614 #undef FLAG_MODE_DEFINE_DEFAULTS | 615 #undef FLAG_MODE_DEFINE_DEFAULTS |
615 #undef FLAG_MODE_META | 616 #undef FLAG_MODE_META |
616 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 617 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
OLD | NEW |