| 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 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 100 DEFINE_bool(harmony_typeof, false, "enable harmony semantics for typeof") | 100 DEFINE_bool(harmony_typeof, false, "enable harmony semantics for typeof") |
| 101 DEFINE_bool(harmony_proxies, false, "enable harmony proxies") | 101 DEFINE_bool(harmony_proxies, false, "enable harmony proxies") |
| 102 DEFINE_bool(harmony_weakmaps, false, "enable harmony weak maps") | 102 DEFINE_bool(harmony_weakmaps, false, "enable harmony weak maps") |
| 103 DEFINE_bool(harmony_block_scoping, false, "enable harmony block scoping") | 103 DEFINE_bool(harmony_block_scoping, false, "enable harmony block scoping") |
| 104 | 104 |
| 105 // Flags for experimental implementation features. | 105 // Flags for experimental implementation features. |
| 106 DEFINE_bool(unbox_double_arrays, true, "automatically unbox arrays of doubles") | 106 DEFINE_bool(unbox_double_arrays, true, "automatically unbox arrays of doubles") |
| 107 DEFINE_bool(smi_only_arrays, false, "tracks arrays with only smi values") | 107 DEFINE_bool(smi_only_arrays, false, "tracks arrays with only smi values") |
| 108 DEFINE_bool(string_slices, false, "use string slices") | 108 DEFINE_bool(string_slices, false, "use string slices") |
| 109 | 109 |
| 110 DEFINE_bool(clever_optimizations, |
| 111 true, |
| 112 "Optimize object size, Array shift, DOM strings and string +") |
| 113 |
| 110 // Flags for Crankshaft. | 114 // Flags for Crankshaft. |
| 111 #ifdef V8_TARGET_ARCH_MIPS | 115 #ifdef V8_TARGET_ARCH_MIPS |
| 112 DEFINE_bool(crankshaft, false, "use crankshaft") | 116 DEFINE_bool(crankshaft, false, "use crankshaft") |
| 113 #else | 117 #else |
| 114 DEFINE_bool(crankshaft, true, "use crankshaft") | 118 DEFINE_bool(crankshaft, true, "use crankshaft") |
| 115 #endif | 119 #endif |
| 116 DEFINE_string(hydrogen_filter, "", "hydrogen use/trace filter") | 120 DEFINE_string(hydrogen_filter, "", "hydrogen use/trace filter") |
| 117 DEFINE_bool(use_hydrogen, true, "use generated hydrogen for compilation") | 121 DEFINE_bool(use_hydrogen, true, "use generated hydrogen for compilation") |
| 118 DEFINE_bool(build_lithium, true, "use lithium chunk builder") | 122 DEFINE_bool(build_lithium, true, "use lithium chunk builder") |
| 119 DEFINE_bool(alloc_lithium, true, "use lithium register allocator") | 123 DEFINE_bool(alloc_lithium, true, "use lithium register allocator") |
| (...skipping 415 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 535 #undef FLAG | 539 #undef FLAG |
| 536 | 540 |
| 537 #undef DEFINE_bool | 541 #undef DEFINE_bool |
| 538 #undef DEFINE_int | 542 #undef DEFINE_int |
| 539 #undef DEFINE_string | 543 #undef DEFINE_string |
| 540 | 544 |
| 541 #undef FLAG_MODE_DECLARE | 545 #undef FLAG_MODE_DECLARE |
| 542 #undef FLAG_MODE_DEFINE | 546 #undef FLAG_MODE_DEFINE |
| 543 #undef FLAG_MODE_DEFINE_DEFAULTS | 547 #undef FLAG_MODE_DEFINE_DEFAULTS |
| 544 #undef FLAG_MODE_META | 548 #undef FLAG_MODE_META |
| OLD | NEW |