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 250 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
261 | 261 |
262 DEFINE_IMPLICATION(turbo, ignition_staging) | 262 DEFINE_IMPLICATION(turbo, ignition_staging) |
263 DEFINE_IMPLICATION(turbo, enable_fast_array_builtins) | 263 DEFINE_IMPLICATION(turbo, enable_fast_array_builtins) |
264 DEFINE_IMPLICATION(turbo, thin_strings) | 264 DEFINE_IMPLICATION(turbo, thin_strings) |
265 | 265 |
266 // TODO(rmcilroy): Remove ignition-staging and set these implications directly | 266 // TODO(rmcilroy): Remove ignition-staging and set these implications directly |
267 // with the turbo flag. | 267 // with the turbo flag. |
268 DEFINE_BOOL(ignition_staging, false, "use ignition with all staged features") | 268 DEFINE_BOOL(ignition_staging, false, "use ignition with all staged features") |
269 DEFINE_IMPLICATION(ignition_staging, ignition) | 269 DEFINE_IMPLICATION(ignition_staging, ignition) |
270 DEFINE_IMPLICATION(ignition_staging, compiler_dispatcher) | 270 DEFINE_IMPLICATION(ignition_staging, compiler_dispatcher) |
271 DEFINE_IMPLICATION(ignition_staging, validate_asm) | |
272 | 271 |
273 // Flags for experimental implementation features. | 272 // Flags for experimental implementation features. |
274 DEFINE_BOOL(allocation_site_pretenuring, true, | 273 DEFINE_BOOL(allocation_site_pretenuring, true, |
275 "pretenure with allocation sites") | 274 "pretenure with allocation sites") |
276 DEFINE_BOOL(mark_shared_functions_for_tier_up, true, | 275 DEFINE_BOOL(mark_shared_functions_for_tier_up, true, |
277 "mark shared functions for tier up") | 276 "mark shared functions for tier up") |
278 DEFINE_BOOL(page_promotion, true, "promote pages based on utilization") | 277 DEFINE_BOOL(page_promotion, true, "promote pages based on utilization") |
279 DEFINE_INT(page_promotion_threshold, 70, | 278 DEFINE_INT(page_promotion_threshold, 70, |
280 "min percentage of live bytes on a page to enable fast evacuation") | 279 "min percentage of live bytes on a page to enable fast evacuation") |
281 DEFINE_BOOL(smi_binop, true, "support smi representation in binary operations") | 280 DEFINE_BOOL(smi_binop, true, "support smi representation in binary operations") |
(...skipping 1017 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1299 #undef DEFINE_ALIAS_FLOAT | 1298 #undef DEFINE_ALIAS_FLOAT |
1300 #undef DEFINE_ALIAS_ARGS | 1299 #undef DEFINE_ALIAS_ARGS |
1301 | 1300 |
1302 #undef FLAG_MODE_DECLARE | 1301 #undef FLAG_MODE_DECLARE |
1303 #undef FLAG_MODE_DEFINE | 1302 #undef FLAG_MODE_DEFINE |
1304 #undef FLAG_MODE_DEFINE_DEFAULTS | 1303 #undef FLAG_MODE_DEFINE_DEFAULTS |
1305 #undef FLAG_MODE_META | 1304 #undef FLAG_MODE_META |
1306 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1305 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1307 | 1306 |
1308 #undef COMMA | 1307 #undef COMMA |
OLD | NEW |