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 195 matching lines...) Loading... |
206 DEFINE_bool(trace_osr, false, "trace on-stack replacement") | 206 DEFINE_bool(trace_osr, false, "trace on-stack replacement") |
207 DEFINE_int(stress_runs, 0, "number of stress runs") | 207 DEFINE_int(stress_runs, 0, "number of stress runs") |
208 DEFINE_bool(optimize_closures, true, "optimize closures") | 208 DEFINE_bool(optimize_closures, true, "optimize closures") |
209 DEFINE_bool(lookup_sample_by_shared, true, | 209 DEFINE_bool(lookup_sample_by_shared, true, |
210 "when picking a function to optimize, watch for shared function " | 210 "when picking a function to optimize, watch for shared function " |
211 "info, not JSFunction itself") | 211 "info, not JSFunction itself") |
212 DEFINE_bool(cache_optimized_code, true, | 212 DEFINE_bool(cache_optimized_code, true, |
213 "cache optimized code for closures") | 213 "cache optimized code for closures") |
214 DEFINE_bool(inline_construct, true, "inline constructor calls") | 214 DEFINE_bool(inline_construct, true, "inline constructor calls") |
215 DEFINE_bool(inline_arguments, true, "inline functions with arguments object") | 215 DEFINE_bool(inline_arguments, true, "inline functions with arguments object") |
216 DEFINE_bool(inline_accessors, false, "inline JavaScript accessors") | 216 DEFINE_bool(inline_accessors, true, "inline JavaScript accessors") |
217 DEFINE_int(loop_weight, 1, "loop weight for representation inference") | 217 DEFINE_int(loop_weight, 1, "loop weight for representation inference") |
218 | 218 |
219 DEFINE_bool(optimize_for_in, true, | 219 DEFINE_bool(optimize_for_in, true, |
220 "optimize functions containing for-in loops") | 220 "optimize functions containing for-in loops") |
221 | 221 |
222 DEFINE_bool(parallel_recompilation, false, | 222 DEFINE_bool(parallel_recompilation, false, |
223 "optimizing hot functions asynchronously on a separate thread") | 223 "optimizing hot functions asynchronously on a separate thread") |
224 DEFINE_bool(trace_parallel_recompilation, false, "track parallel recompilation") | 224 DEFINE_bool(trace_parallel_recompilation, false, "track parallel recompilation") |
225 DEFINE_int(parallel_recompilation_queue_length, 2, | 225 DEFINE_int(parallel_recompilation_queue_length, 2, |
226 "the length of the parallel compilation queue") | 226 "the length of the parallel compilation queue") |
(...skipping 463 matching lines...) Loading... |
690 #undef DEFINE_bool | 690 #undef DEFINE_bool |
691 #undef DEFINE_int | 691 #undef DEFINE_int |
692 #undef DEFINE_string | 692 #undef DEFINE_string |
693 #undef DEFINE_implication | 693 #undef DEFINE_implication |
694 | 694 |
695 #undef FLAG_MODE_DECLARE | 695 #undef FLAG_MODE_DECLARE |
696 #undef FLAG_MODE_DEFINE | 696 #undef FLAG_MODE_DEFINE |
697 #undef FLAG_MODE_DEFINE_DEFAULTS | 697 #undef FLAG_MODE_DEFINE_DEFAULTS |
698 #undef FLAG_MODE_META | 698 #undef FLAG_MODE_META |
699 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 699 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
OLD | NEW |