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 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
91 #define DEFINE_string(nam, def, cmt) FLAG(STRING, const char*, nam, def, cmt) | 91 #define DEFINE_string(nam, def, cmt) FLAG(STRING, const char*, nam, def, cmt) |
92 #define DEFINE_args(nam, def, cmt) FLAG(ARGS, JSArguments, nam, def, cmt) | 92 #define DEFINE_args(nam, def, cmt) FLAG(ARGS, JSArguments, nam, def, cmt) |
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_proxies, false, "enable harmony proxies") | 100 DEFINE_bool(harmony_proxies, false, "enable harmony proxies") |
| 101 DEFINE_bool(harmony_weakmaps, false, "enable harmony weak-maps") |
101 | 102 |
102 // Flags for experimental implementation features. | 103 // Flags for experimental implementation features. |
103 DEFINE_bool(unbox_double_arrays, true, "automatically unbox arrays of doubles") | 104 DEFINE_bool(unbox_double_arrays, true, "automatically unbox arrays of doubles") |
104 | 105 |
105 // Flags for Crankshaft. | 106 // Flags for Crankshaft. |
106 #ifdef V8_TARGET_ARCH_MIPS | 107 #ifdef V8_TARGET_ARCH_MIPS |
107 DEFINE_bool(crankshaft, false, "use crankshaft") | 108 DEFINE_bool(crankshaft, false, "use crankshaft") |
108 #else | 109 #else |
109 DEFINE_bool(crankshaft, true, "use crankshaft") | 110 DEFINE_bool(crankshaft, true, "use crankshaft") |
110 #endif | 111 #endif |
(...skipping 403 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
514 #undef FLAG | 515 #undef FLAG |
515 | 516 |
516 #undef DEFINE_bool | 517 #undef DEFINE_bool |
517 #undef DEFINE_int | 518 #undef DEFINE_int |
518 #undef DEFINE_string | 519 #undef DEFINE_string |
519 | 520 |
520 #undef FLAG_MODE_DECLARE | 521 #undef FLAG_MODE_DECLARE |
521 #undef FLAG_MODE_DEFINE | 522 #undef FLAG_MODE_DEFINE |
522 #undef FLAG_MODE_DEFINE_DEFAULTS | 523 #undef FLAG_MODE_DEFINE_DEFAULTS |
523 #undef FLAG_MODE_META | 524 #undef FLAG_MODE_META |
OLD | NEW |