| 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 222 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 233 DEFINE_NEG_NEG_IMPLICATION(harmony_shipping, id) | 233 DEFINE_NEG_NEG_IMPLICATION(harmony_shipping, id) |
| 234 HARMONY_SHIPPING(FLAG_SHIPPING_FEATURES) | 234 HARMONY_SHIPPING(FLAG_SHIPPING_FEATURES) |
| 235 #undef FLAG_SHIPPING_FEATURES | 235 #undef FLAG_SHIPPING_FEATURES |
| 236 | 236 |
| 237 | 237 |
| 238 // Feature dependencies. | 238 // Feature dependencies. |
| 239 DEFINE_IMPLICATION(harmony_classes, harmony_object_literals) | 239 DEFINE_IMPLICATION(harmony_classes, harmony_object_literals) |
| 240 DEFINE_IMPLICATION(harmony_unicode_regexps, harmony_unicode) | 240 DEFINE_IMPLICATION(harmony_unicode_regexps, harmony_unicode) |
| 241 | 241 |
| 242 | 242 |
| 243 // Flags for asm.js. |
| 244 DEFINE_BOOL(asm, true, "enable asm.js") |
| 245 DEFINE_BOOL(trace_asm, false, "trace asm.js") |
| 246 #ifdef DEBUG |
| 247 DEFINE_BOOL(print_asm_env, false, "print asm.js environments") |
| 248 #endif |
| 249 |
| 243 // Flags for experimental implementation features. | 250 // Flags for experimental implementation features. |
| 244 DEFINE_BOOL(compiled_keyed_generic_loads, false, | 251 DEFINE_BOOL(compiled_keyed_generic_loads, false, |
| 245 "use optimizing compiler to generate keyed generic load stubs") | 252 "use optimizing compiler to generate keyed generic load stubs") |
| 246 // TODO(hpayer): We will remove this flag as soon as we have pretenuring | 253 // TODO(hpayer): We will remove this flag as soon as we have pretenuring |
| 247 // support for specific allocation sites. | 254 // support for specific allocation sites. |
| 248 DEFINE_BOOL(pretenuring_call_new, false, "pretenure call new") | 255 DEFINE_BOOL(pretenuring_call_new, false, "pretenure call new") |
| 249 DEFINE_BOOL(allocation_site_pretenuring, true, | 256 DEFINE_BOOL(allocation_site_pretenuring, true, |
| 250 "pretenure with allocation sites") | 257 "pretenure with allocation sites") |
| 251 DEFINE_BOOL(trace_pretenuring, false, | 258 DEFINE_BOOL(trace_pretenuring, false, |
| 252 "trace pretenuring decisions of HAllocate instructions") | 259 "trace pretenuring decisions of HAllocate instructions") |
| (...skipping 814 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1067 #undef DEFINE_ALIAS_FLOAT | 1074 #undef DEFINE_ALIAS_FLOAT |
| 1068 #undef DEFINE_ALIAS_ARGS | 1075 #undef DEFINE_ALIAS_ARGS |
| 1069 | 1076 |
| 1070 #undef FLAG_MODE_DECLARE | 1077 #undef FLAG_MODE_DECLARE |
| 1071 #undef FLAG_MODE_DEFINE | 1078 #undef FLAG_MODE_DEFINE |
| 1072 #undef FLAG_MODE_DEFINE_DEFAULTS | 1079 #undef FLAG_MODE_DEFINE_DEFAULTS |
| 1073 #undef FLAG_MODE_META | 1080 #undef FLAG_MODE_META |
| 1074 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1081 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
| 1075 | 1082 |
| 1076 #undef COMMA | 1083 #undef COMMA |
| OLD | NEW |