| 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 212 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 223 #ifdef V8_I18N_SUPPORT | 223 #ifdef V8_I18N_SUPPORT | 
| 224 #define HARMONY_STAGED(V) \ | 224 #define HARMONY_STAGED(V) \ | 
| 225   HARMONY_STAGED_BASE(V)  \ | 225   HARMONY_STAGED_BASE(V)  \ | 
| 226   V(icu_case_mapping, "case mapping with ICU rather than Unibrow") | 226   V(icu_case_mapping, "case mapping with ICU rather than Unibrow") | 
| 227 #else | 227 #else | 
| 228 #define HARMONY_STAGED(V) HARMONY_STAGED_BASE(V) | 228 #define HARMONY_STAGED(V) HARMONY_STAGED_BASE(V) | 
| 229 #endif | 229 #endif | 
| 230 | 230 | 
| 231 // Features that are shipping (turned on by default, but internal flag remains). | 231 // Features that are shipping (turned on by default, but internal flag remains). | 
| 232 #define HARMONY_SHIPPING(V)                                           \ | 232 #define HARMONY_SHIPPING(V)                                           \ | 
| 233   V(harmony_function_name, "harmony Function name inference")         \ |  | 
| 234   V(harmony_instanceof, "harmony instanceof support")                 \ |  | 
| 235   V(harmony_iterator_close, "harmony iterator finalization")          \ |  | 
| 236   V(harmony_unicode_regexps, "harmony unicode regexps")               \ |  | 
| 237   V(harmony_regexp_exec, "harmony RegExp exec override behavior")     \ |  | 
| 238   V(harmony_regexp_subclass, "harmony regexp subclassing")            \ |  | 
| 239   V(harmony_restrictive_declarations,                                 \ | 233   V(harmony_restrictive_declarations,                                 \ | 
| 240     "harmony limitations on sloppy mode function declarations")       \ | 234     "harmony limitations on sloppy mode function declarations")       \ | 
| 241   V(harmony_species, "harmony Symbol.species")                        \ |  | 
| 242   V(harmony_exponentiation_operator, "harmony exponentiation operator `**`") | 235   V(harmony_exponentiation_operator, "harmony exponentiation operator `**`") | 
| 243 | 236 | 
| 244 // Once a shipping feature has proved stable in the wild, it will be dropped | 237 // Once a shipping feature has proved stable in the wild, it will be dropped | 
| 245 // from HARMONY_SHIPPING, all occurrences of the FLAG_ variable are removed, | 238 // from HARMONY_SHIPPING, all occurrences of the FLAG_ variable are removed, | 
| 246 // and associated tests are moved from the harmony directory to the appropriate | 239 // and associated tests are moved from the harmony directory to the appropriate | 
| 247 // esN directory. | 240 // esN directory. | 
| 248 | 241 | 
| 249 | 242 | 
| 250 #define FLAG_INPROGRESS_FEATURES(id, description) \ | 243 #define FLAG_INPROGRESS_FEATURES(id, description) \ | 
| 251   DEFINE_BOOL(id, false, "enable " #description " (in progress)") | 244   DEFINE_BOOL(id, false, "enable " #description " (in progress)") | 
| (...skipping 945 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 1197 #undef DEFINE_ALIAS_FLOAT | 1190 #undef DEFINE_ALIAS_FLOAT | 
| 1198 #undef DEFINE_ALIAS_ARGS | 1191 #undef DEFINE_ALIAS_ARGS | 
| 1199 | 1192 | 
| 1200 #undef FLAG_MODE_DECLARE | 1193 #undef FLAG_MODE_DECLARE | 
| 1201 #undef FLAG_MODE_DEFINE | 1194 #undef FLAG_MODE_DEFINE | 
| 1202 #undef FLAG_MODE_DEFINE_DEFAULTS | 1195 #undef FLAG_MODE_DEFINE_DEFAULTS | 
| 1203 #undef FLAG_MODE_META | 1196 #undef FLAG_MODE_META | 
| 1204 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1197 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 
| 1205 | 1198 | 
| 1206 #undef COMMA | 1199 #undef COMMA | 
| OLD | NEW | 
|---|