| 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 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 125 #define DEFINE_string(nam, def, cmt) FLAG(STRING, const char*, nam, def, cmt) | 125 #define DEFINE_string(nam, def, cmt) FLAG(STRING, const char*, nam, def, cmt) |
| 126 #define DEFINE_args(nam, def, cmt) FLAG(ARGS, JSArguments, nam, def, cmt) | 126 #define DEFINE_args(nam, def, cmt) FLAG(ARGS, JSArguments, nam, def, cmt) |
| 127 | 127 |
| 128 // | 128 // |
| 129 // Flags in all modes. | 129 // Flags in all modes. |
| 130 // | 130 // |
| 131 #define FLAG FLAG_FULL | 131 #define FLAG FLAG_FULL |
| 132 | 132 |
| 133 // Flags for language modes and experimental language features. | 133 // Flags for language modes and experimental language features. |
| 134 DEFINE_bool(use_strict, false, "enforce strict mode") | 134 DEFINE_bool(use_strict, false, "enforce strict mode") |
| 135 DEFINE_bool(es5_readonly, false, | 135 DEFINE_bool(es5_readonly, true, |
| 136 "activate correct semantics for inheriting readonliness") | 136 "activate correct semantics for inheriting readonliness") |
| 137 DEFINE_bool(es52_globals, true, | 137 DEFINE_bool(es52_globals, true, |
| 138 "activate new semantics for global var declarations") | 138 "activate new semantics for global var declarations") |
| 139 | 139 |
| 140 DEFINE_bool(harmony_typeof, false, "enable harmony semantics for typeof") | 140 DEFINE_bool(harmony_typeof, false, "enable harmony semantics for typeof") |
| 141 DEFINE_bool(harmony_scoping, false, "enable harmony block scoping") | 141 DEFINE_bool(harmony_scoping, false, "enable harmony block scoping") |
| 142 DEFINE_bool(harmony_modules, false, | 142 DEFINE_bool(harmony_modules, false, |
| 143 "enable harmony modules (implies block scoping)") | 143 "enable harmony modules (implies block scoping)") |
| 144 DEFINE_bool(harmony_proxies, false, "enable harmony proxies") | 144 DEFINE_bool(harmony_proxies, false, "enable harmony proxies") |
| 145 DEFINE_bool(harmony_collections, false, | 145 DEFINE_bool(harmony_collections, false, |
| (...skipping 542 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 688 #undef DEFINE_bool | 688 #undef DEFINE_bool |
| 689 #undef DEFINE_int | 689 #undef DEFINE_int |
| 690 #undef DEFINE_string | 690 #undef DEFINE_string |
| 691 #undef DEFINE_implication | 691 #undef DEFINE_implication |
| 692 | 692 |
| 693 #undef FLAG_MODE_DECLARE | 693 #undef FLAG_MODE_DECLARE |
| 694 #undef FLAG_MODE_DEFINE | 694 #undef FLAG_MODE_DEFINE |
| 695 #undef FLAG_MODE_DEFINE_DEFAULTS | 695 #undef FLAG_MODE_DEFINE_DEFAULTS |
| 696 #undef FLAG_MODE_META | 696 #undef FLAG_MODE_META |
| 697 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 697 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
| OLD | NEW |