| 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 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 152 #define DEFINE_ALIAS_string(alias, nam) \ | 152 #define DEFINE_ALIAS_string(alias, nam) \ |
| 153 FLAG_ALIAS(STRING, const char*, alias, nam) | 153 FLAG_ALIAS(STRING, const char*, alias, nam) |
| 154 #define DEFINE_ALIAS_args(alias, nam) FLAG_ALIAS(ARGS, JSArguments, alias, nam) | 154 #define DEFINE_ALIAS_args(alias, nam) FLAG_ALIAS(ARGS, JSArguments, alias, nam) |
| 155 | 155 |
| 156 // | 156 // |
| 157 // Flags in all modes. | 157 // Flags in all modes. |
| 158 // | 158 // |
| 159 #define FLAG FLAG_FULL | 159 #define FLAG FLAG_FULL |
| 160 | 160 |
| 161 // Flags for language modes and experimental language features. | 161 // Flags for language modes and experimental language features. |
| 162 DEFINE_bool(simd_object, false, "enable SIMD object and operations") |
| 162 DEFINE_bool(use_strict, false, "enforce strict mode") | 163 DEFINE_bool(use_strict, false, "enforce strict mode") |
| 163 DEFINE_bool(es5_readonly, true, | 164 DEFINE_bool(es5_readonly, true, |
| 164 "activate correct semantics for inheriting readonliness") | 165 "activate correct semantics for inheriting readonliness") |
| 165 DEFINE_bool(es52_globals, true, | 166 DEFINE_bool(es52_globals, true, |
| 166 "activate new semantics for global var declarations") | 167 "activate new semantics for global var declarations") |
| 167 | 168 |
| 168 DEFINE_bool(harmony_typeof, false, "enable harmony semantics for typeof") | 169 DEFINE_bool(harmony_typeof, false, "enable harmony semantics for typeof") |
| 169 DEFINE_bool(harmony_scoping, false, "enable harmony block scoping") | 170 DEFINE_bool(harmony_scoping, false, "enable harmony block scoping") |
| 170 DEFINE_bool(harmony_modules, false, | 171 DEFINE_bool(harmony_modules, false, |
| 171 "enable harmony modules (implies block scoping)") | 172 "enable harmony modules (implies block scoping)") |
| (...skipping 718 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 890 #undef DEFINE_ALIAS_float | 891 #undef DEFINE_ALIAS_float |
| 891 #undef DEFINE_ALIAS_args | 892 #undef DEFINE_ALIAS_args |
| 892 | 893 |
| 893 #undef FLAG_MODE_DECLARE | 894 #undef FLAG_MODE_DECLARE |
| 894 #undef FLAG_MODE_DEFINE | 895 #undef FLAG_MODE_DEFINE |
| 895 #undef FLAG_MODE_DEFINE_DEFAULTS | 896 #undef FLAG_MODE_DEFINE_DEFAULTS |
| 896 #undef FLAG_MODE_META | 897 #undef FLAG_MODE_META |
| 897 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 898 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
| 898 | 899 |
| 899 #undef COMMA | 900 #undef COMMA |
| OLD | NEW |