OLD | NEW |
---|---|
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
93 | 93 |
94 // | 94 // |
95 // Flags in all modes. | 95 // Flags in all modes. |
96 // | 96 // |
97 #define FLAG FLAG_FULL | 97 #define FLAG FLAG_FULL |
98 | 98 |
99 // Flags for experimental language features. | 99 // Flags for experimental language features. |
100 DEFINE_bool(harmony_typeof, false, "enable harmony semantics for typeof") | 100 DEFINE_bool(harmony_typeof, false, "enable harmony semantics for typeof") |
101 DEFINE_bool(harmony_scoping, false, "enable harmony block scoping") | 101 DEFINE_bool(harmony_scoping, false, "enable harmony block scoping") |
102 DEFINE_bool(harmony_proxies, false, "enable harmony proxies") | 102 DEFINE_bool(harmony_proxies, false, "enable harmony proxies") |
103 DEFINE_bool(harmony_weakmaps, false, "enable harmony weak maps") | 103 DEFINE_bool(harmony_collections, false, |
104 "enable harmony collections (sets, maps and weak maps)") | |
rossberg
2011/10/25 13:53:59
Nit: I think you put a comma before the "and" in E
Erik Corry
2011/10/25 19:36:00
Some do, some don't. http://en.wikipedia.org/wiki
| |
104 DEFINE_bool(harmony, false, "enable all harmony features") | 105 DEFINE_bool(harmony, false, "enable all harmony features") |
105 | 106 |
106 // Flags for experimental implementation features. | 107 // Flags for experimental implementation features. |
107 DEFINE_bool(unbox_double_arrays, true, "automatically unbox arrays of doubles") | 108 DEFINE_bool(unbox_double_arrays, true, "automatically unbox arrays of doubles") |
108 DEFINE_bool(smi_only_arrays, false, "tracks arrays with only smi values") | 109 DEFINE_bool(smi_only_arrays, false, "tracks arrays with only smi values") |
109 DEFINE_bool(string_slices, true, "use string slices") | 110 DEFINE_bool(string_slices, true, "use string slices") |
110 | 111 |
111 DEFINE_bool(clever_optimizations, | 112 DEFINE_bool(clever_optimizations, |
112 true, | 113 true, |
113 "Optimize object size, Array shift, DOM strings and string +") | 114 "Optimize object size, Array shift, DOM strings and string +") |
(...skipping 430 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
544 #undef FLAG | 545 #undef FLAG |
545 | 546 |
546 #undef DEFINE_bool | 547 #undef DEFINE_bool |
547 #undef DEFINE_int | 548 #undef DEFINE_int |
548 #undef DEFINE_string | 549 #undef DEFINE_string |
549 | 550 |
550 #undef FLAG_MODE_DECLARE | 551 #undef FLAG_MODE_DECLARE |
551 #undef FLAG_MODE_DEFINE | 552 #undef FLAG_MODE_DEFINE |
552 #undef FLAG_MODE_DEFINE_DEFAULTS | 553 #undef FLAG_MODE_DEFINE_DEFAULTS |
553 #undef FLAG_MODE_META | 554 #undef FLAG_MODE_META |
OLD | NEW |