| 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 241 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 252 DEFINE_IMPLICATION(track_double_fields, track_fields) | 252 DEFINE_IMPLICATION(track_double_fields, track_fields) |
| 253 DEFINE_IMPLICATION(track_heap_object_fields, track_fields) | 253 DEFINE_IMPLICATION(track_heap_object_fields, track_fields) |
| 254 DEFINE_IMPLICATION(track_computed_fields, track_fields) | 254 DEFINE_IMPLICATION(track_computed_fields, track_fields) |
| 255 DEFINE_BOOL(track_field_types, true, "track field types") | 255 DEFINE_BOOL(track_field_types, true, "track field types") |
| 256 DEFINE_IMPLICATION(track_field_types, track_fields) | 256 DEFINE_IMPLICATION(track_field_types, track_fields) |
| 257 DEFINE_IMPLICATION(track_field_types, track_heap_object_fields) | 257 DEFINE_IMPLICATION(track_field_types, track_heap_object_fields) |
| 258 DEFINE_BOOL(smi_binop, true, "support smi representation in binary operations") | 258 DEFINE_BOOL(smi_binop, true, "support smi representation in binary operations") |
| 259 DEFINE_BOOL(vector_ics, false, "support vector-based ics") | 259 DEFINE_BOOL(vector_ics, false, "support vector-based ics") |
| 260 DEFINE_BOOL(experimental_classes, false, | 260 DEFINE_BOOL(experimental_classes, false, |
| 261 "experimental new semantics for super() calls") | 261 "experimental new semantics for super() calls") |
| 262 DEFINE_BOOL(strong_mode, false, "experimental strong language mode") |
| 262 DEFINE_IMPLICATION(experimental_classes, harmony_classes) | 263 DEFINE_IMPLICATION(experimental_classes, harmony_classes) |
| 263 DEFINE_IMPLICATION(experimental_classes, harmony_object_literals) | 264 DEFINE_IMPLICATION(experimental_classes, harmony_object_literals) |
| 264 | 265 |
| 265 // Flags for optimization types. | 266 // Flags for optimization types. |
| 266 DEFINE_BOOL(optimize_for_size, false, | 267 DEFINE_BOOL(optimize_for_size, false, |
| 267 "Enables optimizations which favor memory size over execution " | 268 "Enables optimizations which favor memory size over execution " |
| 268 "speed.") | 269 "speed.") |
| 269 | 270 |
| 270 DEFINE_VALUE_IMPLICATION(optimize_for_size, max_semi_space_size, 1) | 271 DEFINE_VALUE_IMPLICATION(optimize_for_size, max_semi_space_size, 1) |
| 271 | 272 |
| (...skipping 742 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1014 #undef DEFINE_ALIAS_FLOAT | 1015 #undef DEFINE_ALIAS_FLOAT |
| 1015 #undef DEFINE_ALIAS_ARGS | 1016 #undef DEFINE_ALIAS_ARGS |
| 1016 | 1017 |
| 1017 #undef FLAG_MODE_DECLARE | 1018 #undef FLAG_MODE_DECLARE |
| 1018 #undef FLAG_MODE_DEFINE | 1019 #undef FLAG_MODE_DEFINE |
| 1019 #undef FLAG_MODE_DEFINE_DEFAULTS | 1020 #undef FLAG_MODE_DEFINE_DEFAULTS |
| 1020 #undef FLAG_MODE_META | 1021 #undef FLAG_MODE_META |
| 1021 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1022 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
| 1022 | 1023 |
| 1023 #undef COMMA | 1024 #undef COMMA |
| OLD | NEW |