| 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 248 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 259 DEFINE_IMPLICATION(track_double_fields, track_fields) | 259 DEFINE_IMPLICATION(track_double_fields, track_fields) |
| 260 DEFINE_IMPLICATION(track_heap_object_fields, track_fields) | 260 DEFINE_IMPLICATION(track_heap_object_fields, track_fields) |
| 261 DEFINE_IMPLICATION(track_computed_fields, track_fields) | 261 DEFINE_IMPLICATION(track_computed_fields, track_fields) |
| 262 DEFINE_BOOL(track_field_types, true, "track field types") | 262 DEFINE_BOOL(track_field_types, true, "track field types") |
| 263 DEFINE_IMPLICATION(track_field_types, track_fields) | 263 DEFINE_IMPLICATION(track_field_types, track_fields) |
| 264 DEFINE_IMPLICATION(track_field_types, track_heap_object_fields) | 264 DEFINE_IMPLICATION(track_field_types, track_heap_object_fields) |
| 265 DEFINE_BOOL(smi_binop, true, "support smi representation in binary operations") | 265 DEFINE_BOOL(smi_binop, true, "support smi representation in binary operations") |
| 266 DEFINE_BOOL(vector_ics, false, "support vector-based ics") | 266 DEFINE_BOOL(vector_ics, false, "support vector-based ics") |
| 267 DEFINE_BOOL(experimental_classes, false, | 267 DEFINE_BOOL(experimental_classes, false, |
| 268 "experimental new semantics for super() calls") | 268 "experimental new semantics for super() calls") |
| 269 DEFINE_IMPLICATION(harmony_classes, experimental_classes) |
| 269 DEFINE_IMPLICATION(experimental_classes, harmony_classes) | 270 DEFINE_IMPLICATION(experimental_classes, harmony_classes) |
| 270 DEFINE_IMPLICATION(experimental_classes, harmony_object_literals) | 271 DEFINE_IMPLICATION(experimental_classes, harmony_object_literals) |
| 271 | 272 |
| 272 // Flags for optimization types. | 273 // Flags for optimization types. |
| 273 DEFINE_BOOL(optimize_for_size, false, | 274 DEFINE_BOOL(optimize_for_size, false, |
| 274 "Enables optimizations which favor memory size over execution " | 275 "Enables optimizations which favor memory size over execution " |
| 275 "speed.") | 276 "speed.") |
| 276 | 277 |
| 277 DEFINE_VALUE_IMPLICATION(optimize_for_size, max_semi_space_size, 1) | 278 DEFINE_VALUE_IMPLICATION(optimize_for_size, max_semi_space_size, 1) |
| 278 | 279 |
| (...skipping 746 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1025 #undef DEFINE_ALIAS_FLOAT | 1026 #undef DEFINE_ALIAS_FLOAT |
| 1026 #undef DEFINE_ALIAS_ARGS | 1027 #undef DEFINE_ALIAS_ARGS |
| 1027 | 1028 |
| 1028 #undef FLAG_MODE_DECLARE | 1029 #undef FLAG_MODE_DECLARE |
| 1029 #undef FLAG_MODE_DEFINE | 1030 #undef FLAG_MODE_DEFINE |
| 1030 #undef FLAG_MODE_DEFINE_DEFAULTS | 1031 #undef FLAG_MODE_DEFINE_DEFAULTS |
| 1031 #undef FLAG_MODE_META | 1032 #undef FLAG_MODE_META |
| 1032 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1033 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
| 1033 | 1034 |
| 1034 #undef COMMA | 1035 #undef COMMA |
| OLD | NEW |