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