OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // This file defines all of the flags. It is separated into different section, | 5 // This file defines all of the flags. It is separated into different section, |
6 // for Debug, Release, Logging and Profiling, etc. To add a new flag, find the | 6 // for Debug, Release, Logging and Profiling, etc. To add a new flag, find the |
7 // correct section, and use one of the DEFINE_ macros, without a trailing ';'. | 7 // correct section, and use one of the DEFINE_ macros, without a trailing ';'. |
8 // | 8 // |
9 // This include does not have a guard, because it is a template-style include, | 9 // This include does not have a guard, because it is a template-style include, |
10 // which can be included multiple times in different modes. It expects to have | 10 // which can be included multiple times in different modes. It expects to have |
(...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
278 DEFINE_VALUE_IMPLICATION(optimize_for_size, max_semi_space_size, 1) | 278 DEFINE_VALUE_IMPLICATION(optimize_for_size, max_semi_space_size, 1) |
279 | 279 |
280 // Flags for data representation optimizations | 280 // Flags for data representation optimizations |
281 DEFINE_BOOL(unbox_double_arrays, true, "automatically unbox arrays of doubles") | 281 DEFINE_BOOL(unbox_double_arrays, true, "automatically unbox arrays of doubles") |
282 DEFINE_BOOL(string_slices, true, "use string slices") | 282 DEFINE_BOOL(string_slices, true, "use string slices") |
283 | 283 |
284 // Flags for Ignition. | 284 // Flags for Ignition. |
285 DEFINE_BOOL(ignition, false, "use ignition interpreter") | 285 DEFINE_BOOL(ignition, false, "use ignition interpreter") |
286 DEFINE_IMPLICATION(ignition, vector_stores) | 286 DEFINE_IMPLICATION(ignition, vector_stores) |
287 DEFINE_STRING(ignition_filter, "~~", "filter for ignition interpreter") | 287 DEFINE_STRING(ignition_filter, "~~", "filter for ignition interpreter") |
| 288 DEFINE_STRING(ignition_script_filter, "", |
| 289 "script filter for ignition interpreter") |
288 DEFINE_BOOL(print_bytecode, false, | 290 DEFINE_BOOL(print_bytecode, false, |
289 "print bytecode generated by ignition interpreter") | 291 "print bytecode generated by ignition interpreter") |
290 DEFINE_BOOL(trace_ignition_codegen, false, | 292 DEFINE_BOOL(trace_ignition_codegen, false, |
291 "trace the codegen of ignition interpreter bytecode handlers") | 293 "trace the codegen of ignition interpreter bytecode handlers") |
292 | 294 |
293 // Flags for Crankshaft. | 295 // Flags for Crankshaft. |
294 DEFINE_BOOL(crankshaft, true, "use crankshaft") | 296 DEFINE_BOOL(crankshaft, true, "use crankshaft") |
295 DEFINE_STRING(hydrogen_filter, "*", "optimization filter") | 297 DEFINE_STRING(hydrogen_filter, "*", "optimization filter") |
296 DEFINE_BOOL(use_gvn, true, "use hydrogen global value numbering") | 298 DEFINE_BOOL(use_gvn, true, "use hydrogen global value numbering") |
297 DEFINE_INT(gvn_iterations, 3, "maximum number of GVN fix-point iterations") | 299 DEFINE_INT(gvn_iterations, 3, "maximum number of GVN fix-point iterations") |
(...skipping 805 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1103 #undef DEFINE_ALIAS_FLOAT | 1105 #undef DEFINE_ALIAS_FLOAT |
1104 #undef DEFINE_ALIAS_ARGS | 1106 #undef DEFINE_ALIAS_ARGS |
1105 | 1107 |
1106 #undef FLAG_MODE_DECLARE | 1108 #undef FLAG_MODE_DECLARE |
1107 #undef FLAG_MODE_DEFINE | 1109 #undef FLAG_MODE_DEFINE |
1108 #undef FLAG_MODE_DEFINE_DEFAULTS | 1110 #undef FLAG_MODE_DEFINE_DEFAULTS |
1109 #undef FLAG_MODE_META | 1111 #undef FLAG_MODE_META |
1110 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1112 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1111 | 1113 |
1112 #undef COMMA | 1114 #undef COMMA |
OLD | NEW |