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, true, | 135 DEFINE_bool(es5_readonly, false, |
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 522 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
668 #undef DEFINE_bool | 668 #undef DEFINE_bool |
669 #undef DEFINE_int | 669 #undef DEFINE_int |
670 #undef DEFINE_string | 670 #undef DEFINE_string |
671 #undef DEFINE_implication | 671 #undef DEFINE_implication |
672 | 672 |
673 #undef FLAG_MODE_DECLARE | 673 #undef FLAG_MODE_DECLARE |
674 #undef FLAG_MODE_DEFINE | 674 #undef FLAG_MODE_DEFINE |
675 #undef FLAG_MODE_DEFINE_DEFAULTS | 675 #undef FLAG_MODE_DEFINE_DEFAULTS |
676 #undef FLAG_MODE_META | 676 #undef FLAG_MODE_META |
677 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 677 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
OLD | NEW |