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 |
100 DEFINE_string(hydrogen_filter, "", "hydrogen use/trace filter") | 105 DEFINE_string(hydrogen_filter, "", "hydrogen use/trace filter") |
101 DEFINE_bool(use_hydrogen, true, "use generated hydrogen for compilation") | 106 DEFINE_bool(use_hydrogen, true, "use generated hydrogen for compilation") |
102 DEFINE_bool(build_lithium, true, "use lithium chunk builder") | 107 DEFINE_bool(build_lithium, true, "use lithium chunk builder") |
103 DEFINE_bool(alloc_lithium, true, "use lithium register allocator") | 108 DEFINE_bool(alloc_lithium, true, "use lithium register allocator") |
104 DEFINE_bool(use_lithium, true, "use lithium code generator") | 109 DEFINE_bool(use_lithium, true, "use lithium code generator") |
105 DEFINE_bool(use_range, true, "use hydrogen range analysis") | 110 DEFINE_bool(use_range, true, "use hydrogen range analysis") |
106 DEFINE_bool(eliminate_dead_phis, true, "eliminate dead phis") | 111 DEFINE_bool(eliminate_dead_phis, true, "eliminate dead phis") |
107 DEFINE_bool(use_gvn, true, "use hydrogen global value numbering") | 112 DEFINE_bool(use_gvn, true, "use hydrogen global value numbering") |
108 DEFINE_bool(use_canonicalizing, true, "use hydrogen instruction canonicalizing") | 113 DEFINE_bool(use_canonicalizing, true, "use hydrogen instruction canonicalizing") |
109 DEFINE_bool(use_inlining, true, "use function inlining") | 114 DEFINE_bool(use_inlining, true, "use function inlining") |
(...skipping 432 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
542 #undef FLAG | 547 #undef FLAG |
543 | 548 |
544 #undef DEFINE_bool | 549 #undef DEFINE_bool |
545 #undef DEFINE_int | 550 #undef DEFINE_int |
546 #undef DEFINE_string | 551 #undef DEFINE_string |
547 | 552 |
548 #undef FLAG_MODE_DECLARE | 553 #undef FLAG_MODE_DECLARE |
549 #undef FLAG_MODE_DEFINE | 554 #undef FLAG_MODE_DEFINE |
550 #undef FLAG_MODE_DEFINE_DEFAULTS | 555 #undef FLAG_MODE_DEFINE_DEFAULTS |
551 #undef FLAG_MODE_META | 556 #undef FLAG_MODE_META |
OLD | NEW |