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 229 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
240 | 240 |
241 // Flags for data representation optimizations | 241 // Flags for data representation optimizations |
242 DEFINE_bool(unbox_double_arrays, true, "automatically unbox arrays of doubles") | 242 DEFINE_bool(unbox_double_arrays, true, "automatically unbox arrays of doubles") |
243 DEFINE_bool(string_slices, true, "use string slices") | 243 DEFINE_bool(string_slices, true, "use string slices") |
244 | 244 |
245 // Flags for Crankshaft. | 245 // Flags for Crankshaft. |
246 DEFINE_bool(crankshaft, true, "use crankshaft") | 246 DEFINE_bool(crankshaft, true, "use crankshaft") |
247 DEFINE_string(hydrogen_filter, "*", "optimization filter") | 247 DEFINE_string(hydrogen_filter, "*", "optimization filter") |
248 DEFINE_bool(use_range, true, "use hydrogen range analysis") | 248 DEFINE_bool(use_range, true, "use hydrogen range analysis") |
249 DEFINE_bool(use_gvn, true, "use hydrogen global value numbering") | 249 DEFINE_bool(use_gvn, true, "use hydrogen global value numbering") |
| 250 DEFINE_int(gvn_iterations, 3, "maximum number of GVN fix-point iterations") |
250 DEFINE_bool(use_canonicalizing, true, "use hydrogen instruction canonicalizing") | 251 DEFINE_bool(use_canonicalizing, true, "use hydrogen instruction canonicalizing") |
251 DEFINE_bool(use_inlining, true, "use function inlining") | 252 DEFINE_bool(use_inlining, true, "use function inlining") |
252 DEFINE_bool(use_escape_analysis, true, "use hydrogen escape analysis") | 253 DEFINE_bool(use_escape_analysis, true, "use hydrogen escape analysis") |
253 DEFINE_bool(use_allocation_folding, true, "use allocation folding") | 254 DEFINE_bool(use_allocation_folding, true, "use allocation folding") |
254 DEFINE_int(max_inlining_levels, 5, "maximum number of inlining levels") | 255 DEFINE_int(max_inlining_levels, 5, "maximum number of inlining levels") |
255 DEFINE_int(max_inlined_source_size, 600, | 256 DEFINE_int(max_inlined_source_size, 600, |
256 "maximum source size in bytes considered for a single inlining") | 257 "maximum source size in bytes considered for a single inlining") |
257 DEFINE_int(max_inlined_nodes, 196, | 258 DEFINE_int(max_inlined_nodes, 196, |
258 "maximum number of AST nodes considered for a single inlining") | 259 "maximum number of AST nodes considered for a single inlining") |
259 DEFINE_int(max_inlined_nodes_cumulative, 400, | 260 DEFINE_int(max_inlined_nodes_cumulative, 400, |
(...skipping 630 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
890 #undef DEFINE_ALIAS_float | 891 #undef DEFINE_ALIAS_float |
891 #undef DEFINE_ALIAS_args | 892 #undef DEFINE_ALIAS_args |
892 | 893 |
893 #undef FLAG_MODE_DECLARE | 894 #undef FLAG_MODE_DECLARE |
894 #undef FLAG_MODE_DEFINE | 895 #undef FLAG_MODE_DEFINE |
895 #undef FLAG_MODE_DEFINE_DEFAULTS | 896 #undef FLAG_MODE_DEFINE_DEFAULTS |
896 #undef FLAG_MODE_META | 897 #undef FLAG_MODE_META |
897 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 898 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
898 | 899 |
899 #undef COMMA | 900 #undef COMMA |
OLD | NEW |