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 // 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 255 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 266 DEFINE_BOOL(future, FUTURE_BOOL, | 266 DEFINE_BOOL(future, FUTURE_BOOL, |
| 267 "Implies all staged features that we want to ship in the " | 267 "Implies all staged features that we want to ship in the " |
| 268 "not-too-far future") | 268 "not-too-far future") |
| 269 DEFINE_IMPLICATION(future, turbo) | 269 DEFINE_IMPLICATION(future, turbo) |
| 270 | 270 |
| 271 DEFINE_DUAL_IMPLICATION(turbo, ignition) | 271 DEFINE_DUAL_IMPLICATION(turbo, ignition) |
| 272 DEFINE_DUAL_IMPLICATION(turbo, enable_fast_array_builtins) | 272 DEFINE_DUAL_IMPLICATION(turbo, enable_fast_array_builtins) |
| 273 DEFINE_DUAL_IMPLICATION(turbo, thin_strings) | 273 DEFINE_DUAL_IMPLICATION(turbo, thin_strings) |
| 274 | 274 |
| 275 // Flags for experimental implementation features. | 275 // Flags for experimental implementation features. |
| 276 DEFINE_BOOL(experimental_array_builtins, false, | |
| 277 "Experimental versions of array builtins") | |
|
danno
2017/03/20 16:58:38
Consider moving this to the section in this file "
mvstanton
2017/03/20 22:08:31
Done.
| |
| 276 DEFINE_BOOL(allocation_site_pretenuring, true, | 278 DEFINE_BOOL(allocation_site_pretenuring, true, |
| 277 "pretenure with allocation sites") | 279 "pretenure with allocation sites") |
| 278 DEFINE_BOOL(mark_shared_functions_for_tier_up, true, | 280 DEFINE_BOOL(mark_shared_functions_for_tier_up, true, |
| 279 "mark shared functions for tier up") | 281 "mark shared functions for tier up") |
| 280 DEFINE_BOOL(mark_optimizing_shared_functions, true, | 282 DEFINE_BOOL(mark_optimizing_shared_functions, true, |
| 281 "mark shared functions if they are concurrently optimizing") | 283 "mark shared functions if they are concurrently optimizing") |
| 282 DEFINE_BOOL(page_promotion, true, "promote pages based on utilization") | 284 DEFINE_BOOL(page_promotion, true, "promote pages based on utilization") |
| 283 DEFINE_INT(page_promotion_threshold, 70, | 285 DEFINE_INT(page_promotion_threshold, 70, |
| 284 "min percentage of live bytes on a page to enable fast evacuation") | 286 "min percentage of live bytes on a page to enable fast evacuation") |
| 285 DEFINE_BOOL(smi_binop, true, "support smi representation in binary operations") | 287 DEFINE_BOOL(smi_binop, true, "support smi representation in binary operations") |
| (...skipping 1044 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1330 #undef DEFINE_ALIAS_FLOAT | 1332 #undef DEFINE_ALIAS_FLOAT |
| 1331 #undef DEFINE_ALIAS_ARGS | 1333 #undef DEFINE_ALIAS_ARGS |
| 1332 | 1334 |
| 1333 #undef FLAG_MODE_DECLARE | 1335 #undef FLAG_MODE_DECLARE |
| 1334 #undef FLAG_MODE_DEFINE | 1336 #undef FLAG_MODE_DEFINE |
| 1335 #undef FLAG_MODE_DEFINE_DEFAULTS | 1337 #undef FLAG_MODE_DEFINE_DEFAULTS |
| 1336 #undef FLAG_MODE_META | 1338 #undef FLAG_MODE_META |
| 1337 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1339 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
| 1338 | 1340 |
| 1339 #undef COMMA | 1341 #undef COMMA |
| OLD | NEW |