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