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 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
106 // Flags for experimental implementation features. | 106 // Flags for experimental implementation features. |
107 DEFINE_bool(unbox_double_arrays, true, "automatically unbox arrays of doubles") | 107 DEFINE_bool(unbox_double_arrays, true, "automatically unbox arrays of doubles") |
108 DEFINE_bool(smi_only_arrays, false, "tracks arrays with only smi values") | 108 DEFINE_bool(smi_only_arrays, false, "tracks arrays with only smi values") |
109 DEFINE_bool(string_slices, true, "use string slices") | 109 DEFINE_bool(string_slices, true, "use string slices") |
110 | 110 |
111 DEFINE_bool(clever_optimizations, | 111 DEFINE_bool(clever_optimizations, |
112 true, | 112 true, |
113 "Optimize object size, Array shift, DOM strings and string +") | 113 "Optimize object size, Array shift, DOM strings and string +") |
114 | 114 |
115 // Flags for Crankshaft. | 115 // Flags for Crankshaft. |
116 #ifdef V8_TARGET_ARCH_MIPS | 116 DEFINE_bool(crankshaft, true, "use crankshaft") |
117 DEFINE_bool(crankshaft, false, "use crankshaft") | |
118 #else | |
119 DEFINE_bool(crankshaft, true, "use crankshaft") | |
120 #endif | |
121 DEFINE_string(hydrogen_filter, "", "hydrogen use/trace filter") | 117 DEFINE_string(hydrogen_filter, "", "hydrogen use/trace filter") |
122 DEFINE_bool(use_hydrogen, true, "use generated hydrogen for compilation") | 118 DEFINE_bool(use_hydrogen, true, "use generated hydrogen for compilation") |
123 DEFINE_bool(build_lithium, true, "use lithium chunk builder") | 119 DEFINE_bool(build_lithium, true, "use lithium chunk builder") |
124 DEFINE_bool(alloc_lithium, true, "use lithium register allocator") | 120 DEFINE_bool(alloc_lithium, true, "use lithium register allocator") |
125 DEFINE_bool(use_lithium, true, "use lithium code generator") | 121 DEFINE_bool(use_lithium, true, "use lithium code generator") |
126 DEFINE_bool(use_range, true, "use hydrogen range analysis") | 122 DEFINE_bool(use_range, true, "use hydrogen range analysis") |
127 DEFINE_bool(eliminate_dead_phis, true, "eliminate dead phis") | 123 DEFINE_bool(eliminate_dead_phis, true, "eliminate dead phis") |
128 DEFINE_bool(use_gvn, true, "use hydrogen global value numbering") | 124 DEFINE_bool(use_gvn, true, "use hydrogen global value numbering") |
129 DEFINE_bool(use_canonicalizing, true, "use hydrogen instruction canonicalizing") | 125 DEFINE_bool(use_canonicalizing, true, "use hydrogen instruction canonicalizing") |
130 DEFINE_bool(use_inlining, true, "use function inlining") | 126 DEFINE_bool(use_inlining, true, "use function inlining") |
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
316 | 312 |
317 // objects.cc | 313 // objects.cc |
318 DEFINE_bool(use_verbose_printer, true, "allows verbose printing") | 314 DEFINE_bool(use_verbose_printer, true, "allows verbose printing") |
319 | 315 |
320 // parser.cc | 316 // parser.cc |
321 DEFINE_bool(allow_natives_syntax, false, "allow natives syntax") | 317 DEFINE_bool(allow_natives_syntax, false, "allow natives syntax") |
322 DEFINE_bool(strict_mode, true, "allow strict mode directives") | 318 DEFINE_bool(strict_mode, true, "allow strict mode directives") |
323 | 319 |
324 // simulator-arm.cc and simulator-mips.cc | 320 // simulator-arm.cc and simulator-mips.cc |
325 DEFINE_bool(trace_sim, false, "Trace simulator execution") | 321 DEFINE_bool(trace_sim, false, "Trace simulator execution") |
326 DEFINE_bool(check_icache, false, "Check icache flushes in ARM simulator") | 322 DEFINE_bool(check_icache, false, |
| 323 "Check icache flushes in ARM and MIPS simulator") |
327 DEFINE_int(stop_sim_at, 0, "Simulator stop after x number of instructions") | 324 DEFINE_int(stop_sim_at, 0, "Simulator stop after x number of instructions") |
328 DEFINE_int(sim_stack_alignment, 8, | 325 DEFINE_int(sim_stack_alignment, 8, |
329 "Stack alingment in bytes in simulator (4 or 8, 8 is default)") | 326 "Stack alingment in bytes in simulator (4 or 8, 8 is default)") |
330 | 327 |
331 // isolate.cc | 328 // isolate.cc |
332 DEFINE_bool(trace_exception, false, | 329 DEFINE_bool(trace_exception, false, |
333 "print stack trace when throwing exceptions") | 330 "print stack trace when throwing exceptions") |
334 DEFINE_bool(preallocate_message_memory, false, | 331 DEFINE_bool(preallocate_message_memory, false, |
335 "preallocate some memory to build stack traces.") | 332 "preallocate some memory to build stack traces.") |
336 | 333 |
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
544 #undef FLAG | 541 #undef FLAG |
545 | 542 |
546 #undef DEFINE_bool | 543 #undef DEFINE_bool |
547 #undef DEFINE_int | 544 #undef DEFINE_int |
548 #undef DEFINE_string | 545 #undef DEFINE_string |
549 | 546 |
550 #undef FLAG_MODE_DECLARE | 547 #undef FLAG_MODE_DECLARE |
551 #undef FLAG_MODE_DEFINE | 548 #undef FLAG_MODE_DEFINE |
552 #undef FLAG_MODE_DEFINE_DEFAULTS | 549 #undef FLAG_MODE_DEFINE_DEFAULTS |
553 #undef FLAG_MODE_META | 550 #undef FLAG_MODE_META |
OLD | NEW |