| 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 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 200 V(harmony_sharedarraybuffer, "harmony sharedarraybuffer") \ | 200 V(harmony_sharedarraybuffer, "harmony sharedarraybuffer") \ |
| 201 V(harmony_do_expressions, "harmony do-expressions") \ | 201 V(harmony_do_expressions, "harmony do-expressions") \ |
| 202 V(harmony_class_fields, "harmony public fields in class literals") \ | 202 V(harmony_class_fields, "harmony public fields in class literals") \ |
| 203 V(harmony_async_iteration, "harmony async iteration") \ | 203 V(harmony_async_iteration, "harmony async iteration") \ |
| 204 V(harmony_dynamic_import, "harmony dynamic import") \ | 204 V(harmony_dynamic_import, "harmony dynamic import") \ |
| 205 V(harmony_promise_finally, "harmony Promise.prototype.finally") \ | 205 V(harmony_promise_finally, "harmony Promise.prototype.finally") \ |
| 206 V(harmony_strict_legacy_accessor_builtins, \ | 206 V(harmony_strict_legacy_accessor_builtins, \ |
| 207 "treat __defineGetter__ and related functions as strict") \ | 207 "treat __defineGetter__ and related functions as strict") \ |
| 208 V(harmony_restrict_constructor_return, \ | 208 V(harmony_restrict_constructor_return, \ |
| 209 "harmony disallow non undefined primitive return value from class " \ | 209 "harmony disallow non undefined primitive return value from class " \ |
| 210 "constructor") | 210 "constructor") \ |
| 211 V(harmony_weakref, "harmony WeakRef") |
| 211 | 212 |
| 212 // Features that are complete (but still behind --harmony/es-staging flag). | 213 // Features that are complete (but still behind --harmony/es-staging flag). |
| 213 #define HARMONY_STAGED(V) \ | 214 #define HARMONY_STAGED(V) \ |
| 214 V(harmony_function_tostring, "harmony Function.prototype.toString") \ | 215 V(harmony_function_tostring, "harmony Function.prototype.toString") \ |
| 215 V(harmony_regexp_dotall, "harmony regexp dotall flag") \ | 216 V(harmony_regexp_dotall, "harmony regexp dotall flag") \ |
| 216 V(harmony_regexp_lookbehind, "harmony regexp lookbehind") \ | 217 V(harmony_regexp_lookbehind, "harmony regexp lookbehind") \ |
| 217 V(harmony_regexp_named_captures, "harmony regexp named captures") \ | 218 V(harmony_regexp_named_captures, "harmony regexp named captures") \ |
| 218 V(harmony_regexp_property, "harmony unicode regexp property classes") \ | 219 V(harmony_regexp_property, "harmony unicode regexp property classes") \ |
| 219 V(harmony_object_rest_spread, "harmony object rest spread properties") \ | 220 V(harmony_object_rest_spread, "harmony object rest spread properties") \ |
| 220 V(harmony_template_escapes, \ | 221 V(harmony_template_escapes, \ |
| (...skipping 1130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1351 #undef DEFINE_ALIAS_FLOAT | 1352 #undef DEFINE_ALIAS_FLOAT |
| 1352 #undef DEFINE_ALIAS_ARGS | 1353 #undef DEFINE_ALIAS_ARGS |
| 1353 | 1354 |
| 1354 #undef FLAG_MODE_DECLARE | 1355 #undef FLAG_MODE_DECLARE |
| 1355 #undef FLAG_MODE_DEFINE | 1356 #undef FLAG_MODE_DEFINE |
| 1356 #undef FLAG_MODE_DEFINE_DEFAULTS | 1357 #undef FLAG_MODE_DEFINE_DEFAULTS |
| 1357 #undef FLAG_MODE_META | 1358 #undef FLAG_MODE_META |
| 1358 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1359 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
| 1359 | 1360 |
| 1360 #undef COMMA | 1361 #undef COMMA |
| OLD | NEW |