| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
| 2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
| 3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
| 4 // met: | 4 // met: |
| 5 // | 5 // |
| 6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
| 7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
| 8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
| 9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
| 10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
| (...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 160 FLAG_ALIAS(STRING, const char*, alias, nam) | 160 FLAG_ALIAS(STRING, const char*, alias, nam) |
| 161 #define DEFINE_ALIAS_args(alias, nam) FLAG_ALIAS(ARGS, JSArguments, alias, nam) | 161 #define DEFINE_ALIAS_args(alias, nam) FLAG_ALIAS(ARGS, JSArguments, alias, nam) |
| 162 | 162 |
| 163 // | 163 // |
| 164 // Flags in all modes. | 164 // Flags in all modes. |
| 165 // | 165 // |
| 166 #define FLAG FLAG_FULL | 166 #define FLAG FLAG_FULL |
| 167 | 167 |
| 168 // Flags for language modes and experimental language features. | 168 // Flags for language modes and experimental language features. |
| 169 DEFINE_bool(use_strict, false, "enforce strict mode") | 169 DEFINE_bool(use_strict, false, "enforce strict mode") |
| 170 DEFINE_bool(es5_readonly, true, | 170 DEFINE_bool(es_staging, false, "enable upcoming ES6+ features") |
| 171 "activate correct semantics for inheriting readonliness") | |
| 172 DEFINE_bool(es52_globals, true, | |
| 173 "activate new semantics for global var declarations") | |
| 174 | 171 |
| 175 DEFINE_bool(harmony_typeof, false, "enable harmony semantics for typeof") | 172 DEFINE_bool(harmony_typeof, false, "enable harmony semantics for typeof") |
| 176 DEFINE_bool(harmony_scoping, false, "enable harmony block scoping") | 173 DEFINE_bool(harmony_scoping, false, "enable harmony block scoping") |
| 177 DEFINE_bool(harmony_modules, false, | 174 DEFINE_bool(harmony_modules, false, |
| 178 "enable harmony modules (implies block scoping)") | 175 "enable harmony modules (implies block scoping)") |
| 179 DEFINE_bool(harmony_symbols, false, | 176 DEFINE_bool(harmony_symbols, false, |
| 180 "enable harmony symbols (a.k.a. private names)") | 177 "enable harmony symbols (a.k.a. private names)") |
| 181 DEFINE_bool(harmony_promises, false, "enable harmony promises") | 178 DEFINE_bool(harmony_promises, false, "enable harmony promises") |
| 182 DEFINE_bool(harmony_proxies, false, "enable harmony proxies") | 179 DEFINE_bool(harmony_proxies, false, "enable harmony proxies") |
| 183 DEFINE_bool(harmony_collections, false, | 180 DEFINE_bool(harmony_collections, false, |
| (...skipping 731 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 915 #undef DEFINE_ALIAS_float | 912 #undef DEFINE_ALIAS_float |
| 916 #undef DEFINE_ALIAS_args | 913 #undef DEFINE_ALIAS_args |
| 917 | 914 |
| 918 #undef FLAG_MODE_DECLARE | 915 #undef FLAG_MODE_DECLARE |
| 919 #undef FLAG_MODE_DEFINE | 916 #undef FLAG_MODE_DEFINE |
| 920 #undef FLAG_MODE_DEFINE_DEFAULTS | 917 #undef FLAG_MODE_DEFINE_DEFAULTS |
| 921 #undef FLAG_MODE_META | 918 #undef FLAG_MODE_META |
| 922 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 919 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
| 923 | 920 |
| 924 #undef COMMA | 921 #undef COMMA |
| OLD | NEW |