Chromium Code Reviews| 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 228 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 239 "perform array bounds checks elimination") | 239 "perform array bounds checks elimination") |
| 240 DEFINE_bool(array_index_dehoisting, true, | 240 DEFINE_bool(array_index_dehoisting, true, |
| 241 "perform array index dehoisting") | 241 "perform array index dehoisting") |
| 242 DEFINE_bool(dead_code_elimination, true, "use dead code elimination") | 242 DEFINE_bool(dead_code_elimination, true, "use dead code elimination") |
| 243 DEFINE_bool(fold_constants, true, "use constant folding") | 243 DEFINE_bool(fold_constants, true, "use constant folding") |
| 244 DEFINE_bool(trace_dead_code_elimination, false, "trace dead code elimination") | 244 DEFINE_bool(trace_dead_code_elimination, false, "trace dead code elimination") |
| 245 DEFINE_bool(unreachable_code_elimination, false, | 245 DEFINE_bool(unreachable_code_elimination, false, |
| 246 "eliminate unreachable code (hidden behind soft deopts)") | 246 "eliminate unreachable code (hidden behind soft deopts)") |
| 247 DEFINE_bool(track_allocation_sites, true, | 247 DEFINE_bool(track_allocation_sites, true, |
| 248 "Use allocation site info to reduce transitions") | 248 "Use allocation site info to reduce transitions") |
| 249 DEFINE_bool(optimize_constructed_arrays, false, | 249 DEFINE_bool(optimize_constructed_arrays, true, |
|
mvstanton
2013/04/18 14:43:01
turn off by default!
| |
| 250 "Use allocation site info on constructed arrays") | 250 "Use allocation site info on constructed arrays") |
| 251 DEFINE_bool(trace_osr, false, "trace on-stack replacement") | 251 DEFINE_bool(trace_osr, false, "trace on-stack replacement") |
| 252 DEFINE_int(stress_runs, 0, "number of stress runs") | 252 DEFINE_int(stress_runs, 0, "number of stress runs") |
| 253 DEFINE_bool(optimize_closures, true, "optimize closures") | 253 DEFINE_bool(optimize_closures, true, "optimize closures") |
| 254 DEFINE_bool(lookup_sample_by_shared, true, | 254 DEFINE_bool(lookup_sample_by_shared, true, |
| 255 "when picking a function to optimize, watch for shared function " | 255 "when picking a function to optimize, watch for shared function " |
| 256 "info, not JSFunction itself") | 256 "info, not JSFunction itself") |
| 257 DEFINE_bool(cache_optimized_code, true, | 257 DEFINE_bool(cache_optimized_code, true, |
| 258 "cache optimized code for closures") | 258 "cache optimized code for closures") |
| 259 DEFINE_bool(inline_construct, true, "inline constructor calls") | 259 DEFINE_bool(inline_construct, true, "inline constructor calls") |
| (...skipping 510 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 770 #undef DEFINE_bool | 770 #undef DEFINE_bool |
| 771 #undef DEFINE_int | 771 #undef DEFINE_int |
| 772 #undef DEFINE_string | 772 #undef DEFINE_string |
| 773 #undef DEFINE_implication | 773 #undef DEFINE_implication |
| 774 | 774 |
| 775 #undef FLAG_MODE_DECLARE | 775 #undef FLAG_MODE_DECLARE |
| 776 #undef FLAG_MODE_DEFINE | 776 #undef FLAG_MODE_DEFINE |
| 777 #undef FLAG_MODE_DEFINE_DEFAULTS | 777 #undef FLAG_MODE_DEFINE_DEFAULTS |
| 778 #undef FLAG_MODE_META | 778 #undef FLAG_MODE_META |
| 779 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 779 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
| OLD | NEW |