OLD | NEW |
1 // Copyright 2010 the V8 project authors. All rights reserved. | 1 // Copyright 2010 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 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
90 #define DEFINE_float(nam, def, cmt) FLAG(FLOAT, double, nam, def, cmt) | 90 #define DEFINE_float(nam, def, cmt) FLAG(FLOAT, double, nam, def, cmt) |
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 Crankshaft. | 99 // Flags for Crankshaft. |
100 #ifdef V8_TARGET_ARCH_MIPS | |
101 DEFINE_bool(crankshaft, false, "use crankshaft") | |
102 #else | |
103 DEFINE_bool(crankshaft, true, "use crankshaft") | |
104 #endif | |
105 DEFINE_string(hydrogen_filter, "", "hydrogen use/trace filter") | 100 DEFINE_string(hydrogen_filter, "", "hydrogen use/trace filter") |
106 DEFINE_bool(use_hydrogen, true, "use generated hydrogen for compilation") | 101 DEFINE_bool(use_hydrogen, true, "use generated hydrogen for compilation") |
107 DEFINE_bool(build_lithium, true, "use lithium chunk builder") | 102 DEFINE_bool(build_lithium, true, "use lithium chunk builder") |
108 DEFINE_bool(alloc_lithium, true, "use lithium register allocator") | 103 DEFINE_bool(alloc_lithium, true, "use lithium register allocator") |
109 DEFINE_bool(use_lithium, true, "use lithium code generator") | 104 DEFINE_bool(use_lithium, true, "use lithium code generator") |
110 DEFINE_bool(use_range, true, "use hydrogen range analysis") | 105 DEFINE_bool(use_range, true, "use hydrogen range analysis") |
111 DEFINE_bool(eliminate_dead_phis, true, "eliminate dead phis") | 106 DEFINE_bool(eliminate_dead_phis, true, "eliminate dead phis") |
112 DEFINE_bool(use_gvn, true, "use hydrogen global value numbering") | 107 DEFINE_bool(use_gvn, true, "use hydrogen global value numbering") |
113 DEFINE_bool(use_canonicalizing, true, "use hydrogen instruction canonicalizing") | 108 DEFINE_bool(use_canonicalizing, true, "use hydrogen instruction canonicalizing") |
114 DEFINE_bool(use_inlining, true, "use function inlining") | 109 DEFINE_bool(use_inlining, true, "use function inlining") |
(...skipping 432 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
547 #undef FLAG | 542 #undef FLAG |
548 | 543 |
549 #undef DEFINE_bool | 544 #undef DEFINE_bool |
550 #undef DEFINE_int | 545 #undef DEFINE_int |
551 #undef DEFINE_string | 546 #undef DEFINE_string |
552 | 547 |
553 #undef FLAG_MODE_DECLARE | 548 #undef FLAG_MODE_DECLARE |
554 #undef FLAG_MODE_DEFINE | 549 #undef FLAG_MODE_DEFINE |
555 #undef FLAG_MODE_DEFINE_DEFAULTS | 550 #undef FLAG_MODE_DEFINE_DEFAULTS |
556 #undef FLAG_MODE_META | 551 #undef FLAG_MODE_META |
OLD | NEW |