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 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
181 DEFINE_bool(trace_representation, false, "trace representation types") | 181 DEFINE_bool(trace_representation, false, "trace representation types") |
182 DEFINE_bool(stress_pointer_maps, false, "pointer map for every instruction") | 182 DEFINE_bool(stress_pointer_maps, false, "pointer map for every instruction") |
183 DEFINE_bool(stress_environments, false, "environment for every instruction") | 183 DEFINE_bool(stress_environments, false, "environment for every instruction") |
184 DEFINE_int(deopt_every_n_times, | 184 DEFINE_int(deopt_every_n_times, |
185 0, | 185 0, |
186 "deoptimize every n times a deopt point is passed") | 186 "deoptimize every n times a deopt point is passed") |
187 DEFINE_bool(trap_on_deopt, false, "put a break point before deoptimizing") | 187 DEFINE_bool(trap_on_deopt, false, "put a break point before deoptimizing") |
188 DEFINE_bool(deoptimize_uncommon_cases, true, "deoptimize uncommon cases") | 188 DEFINE_bool(deoptimize_uncommon_cases, true, "deoptimize uncommon cases") |
189 DEFINE_bool(polymorphic_inlining, true, "polymorphic inlining") | 189 DEFINE_bool(polymorphic_inlining, true, "polymorphic inlining") |
190 DEFINE_bool(use_osr, true, "use on-stack replacement") | 190 DEFINE_bool(use_osr, true, "use on-stack replacement") |
| 191 DEFINE_bool(array_bounds_checks_elimination, true, |
| 192 "perform array bounds checks elimination") |
191 | 193 |
192 DEFINE_bool(trace_osr, false, "trace on-stack replacement") | 194 DEFINE_bool(trace_osr, false, "trace on-stack replacement") |
193 DEFINE_int(stress_runs, 0, "number of stress runs") | 195 DEFINE_int(stress_runs, 0, "number of stress runs") |
194 DEFINE_bool(optimize_closures, true, "optimize closures") | 196 DEFINE_bool(optimize_closures, true, "optimize closures") |
195 DEFINE_bool(inline_construct, true, "inline constructor calls") | 197 DEFINE_bool(inline_construct, true, "inline constructor calls") |
196 DEFINE_bool(inline_arguments, true, "inline functions with arguments object") | 198 DEFINE_bool(inline_arguments, true, "inline functions with arguments object") |
197 DEFINE_int(loop_weight, 1, "loop weight for representation inference") | 199 DEFINE_int(loop_weight, 1, "loop weight for representation inference") |
198 | 200 |
199 DEFINE_bool(optimize_for_in, true, | 201 DEFINE_bool(optimize_for_in, true, |
200 "optimize functions containing for-in loops") | 202 "optimize functions containing for-in loops") |
(...skipping 443 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
644 #undef DEFINE_bool | 646 #undef DEFINE_bool |
645 #undef DEFINE_int | 647 #undef DEFINE_int |
646 #undef DEFINE_string | 648 #undef DEFINE_string |
647 #undef DEFINE_implication | 649 #undef DEFINE_implication |
648 | 650 |
649 #undef FLAG_MODE_DECLARE | 651 #undef FLAG_MODE_DECLARE |
650 #undef FLAG_MODE_DEFINE | 652 #undef FLAG_MODE_DEFINE |
651 #undef FLAG_MODE_DEFINE_DEFAULTS | 653 #undef FLAG_MODE_DEFINE_DEFAULTS |
652 #undef FLAG_MODE_META | 654 #undef FLAG_MODE_META |
653 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 655 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
OLD | NEW |