| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 195 DEFINE_implication(harmony, harmony_numeric_literals) | 195 DEFINE_implication(harmony, harmony_numeric_literals) |
| 196 DEFINE_implication(harmony, harmony_strings) | 196 DEFINE_implication(harmony, harmony_strings) |
| 197 DEFINE_implication(harmony, harmony_arrays) | 197 DEFINE_implication(harmony, harmony_arrays) |
| 198 DEFINE_implication(harmony, harmony_maths) | 198 DEFINE_implication(harmony, harmony_maths) |
| 199 DEFINE_implication(harmony_modules, harmony_scoping) | 199 DEFINE_implication(harmony_modules, harmony_scoping) |
| 200 DEFINE_implication(harmony_observation, harmony_collections) | 200 DEFINE_implication(harmony_observation, harmony_collections) |
| 201 | 201 |
| 202 // Flags for experimental implementation features. | 202 // Flags for experimental implementation features. |
| 203 DEFINE_bool(packed_arrays, true, "optimizes arrays that have no holes") | 203 DEFINE_bool(packed_arrays, true, "optimizes arrays that have no holes") |
| 204 DEFINE_bool(smi_only_arrays, true, "tracks arrays with only smi values") | 204 DEFINE_bool(smi_only_arrays, true, "tracks arrays with only smi values") |
| 205 DEFINE_bool(compiled_keyed_dictionary_loads, true, |
| 206 "use optimizing compiler to generate keyed dictionary load stubs") |
| 205 DEFINE_bool(clever_optimizations, true, | 207 DEFINE_bool(clever_optimizations, true, |
| 206 "Optimize object size, Array shift, DOM strings and string +") | 208 "Optimize object size, Array shift, DOM strings and string +") |
| 207 DEFINE_bool(pretenuring, true, "allocate objects in old space") | 209 DEFINE_bool(pretenuring, true, "allocate objects in old space") |
| 208 // TODO(hpayer): We will remove this flag as soon as we have pretenuring | 210 // TODO(hpayer): We will remove this flag as soon as we have pretenuring |
| 209 // support for specific allocation sites. | 211 // support for specific allocation sites. |
| 210 DEFINE_bool(pretenuring_call_new, false, "pretenure call new") | 212 DEFINE_bool(pretenuring_call_new, false, "pretenure call new") |
| 211 DEFINE_bool(allocation_site_pretenuring, false, | 213 DEFINE_bool(allocation_site_pretenuring, false, |
| 212 "pretenure with allocation sites") | 214 "pretenure with allocation sites") |
| 213 DEFINE_bool(track_fields, true, "track fields with only smi values") | 215 DEFINE_bool(track_fields, true, "track fields with only smi values") |
| 214 DEFINE_bool(track_double_fields, true, "track fields with double values") | 216 DEFINE_bool(track_double_fields, true, "track fields with double values") |
| (...skipping 378 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 593 "Check icache flushes in ARM and MIPS simulator") | 595 "Check icache flushes in ARM and MIPS simulator") |
| 594 DEFINE_int(stop_sim_at, 0, "Simulator stop after x number of instructions") | 596 DEFINE_int(stop_sim_at, 0, "Simulator stop after x number of instructions") |
| 595 DEFINE_int(sim_stack_alignment, 8, | 597 DEFINE_int(sim_stack_alignment, 8, |
| 596 "Stack alingment in bytes in simulator (4 or 8, 8 is default)") | 598 "Stack alingment in bytes in simulator (4 or 8, 8 is default)") |
| 597 | 599 |
| 598 // isolate.cc | 600 // isolate.cc |
| 599 DEFINE_bool(abort_on_uncaught_exception, false, | 601 DEFINE_bool(abort_on_uncaught_exception, false, |
| 600 "abort program (dump core) when an uncaught exception is thrown") | 602 "abort program (dump core) when an uncaught exception is thrown") |
| 601 DEFINE_bool(trace_exception, false, | 603 DEFINE_bool(trace_exception, false, |
| 602 "print stack trace when throwing exceptions") | 604 "print stack trace when throwing exceptions") |
| 603 DEFINE_bool(preallocate_message_memory, false, | |
| 604 "preallocate some memory to build stack traces.") | |
| 605 DEFINE_bool(randomize_hashes, true, | 605 DEFINE_bool(randomize_hashes, true, |
| 606 "randomize hashes to avoid predictable hash collisions " | 606 "randomize hashes to avoid predictable hash collisions " |
| 607 "(with snapshots this option cannot override the baked-in seed)") | 607 "(with snapshots this option cannot override the baked-in seed)") |
| 608 DEFINE_int(hash_seed, 0, | 608 DEFINE_int(hash_seed, 0, |
| 609 "Fixed seed to use to hash property keys (0 means random)" | 609 "Fixed seed to use to hash property keys (0 means random)" |
| 610 "(with snapshots this option cannot override the baked-in seed)") | 610 "(with snapshots this option cannot override the baked-in seed)") |
| 611 | 611 |
| 612 // snapshot-common.cc | 612 // snapshot-common.cc |
| 613 DEFINE_bool(profile_deserialization, false, | 613 DEFINE_bool(profile_deserialization, false, |
| 614 "Print the time it takes to deserialize the snapshot.") | 614 "Print the time it takes to deserialize the snapshot.") |
| 615 | 615 |
| 616 // v8.cc | |
| 617 DEFINE_bool(preemption, false, | |
| 618 "activate a 100ms timer that switches between V8 threads") | |
| 619 | |
| 620 // Regexp | 616 // Regexp |
| 621 DEFINE_bool(regexp_optimization, true, "generate optimized regexp code") | 617 DEFINE_bool(regexp_optimization, true, "generate optimized regexp code") |
| 622 | 618 |
| 623 // Testing flags test/cctest/test-{flags,api,serialization}.cc | 619 // Testing flags test/cctest/test-{flags,api,serialization}.cc |
| 624 DEFINE_bool(testing_bool_flag, true, "testing_bool_flag") | 620 DEFINE_bool(testing_bool_flag, true, "testing_bool_flag") |
| 625 DEFINE_maybe_bool(testing_maybe_bool_flag, "testing_maybe_bool_flag") | 621 DEFINE_maybe_bool(testing_maybe_bool_flag, "testing_maybe_bool_flag") |
| 626 DEFINE_int(testing_int_flag, 13, "testing_int_flag") | 622 DEFINE_int(testing_int_flag, 13, "testing_int_flag") |
| 627 DEFINE_float(testing_float_flag, 2.5, "float-flag") | 623 DEFINE_float(testing_float_flag, 2.5, "float-flag") |
| 628 DEFINE_string(testing_string_flag, "Hello, world!", "string-flag") | 624 DEFINE_string(testing_string_flag, "Hello, world!", "string-flag") |
| 629 DEFINE_int(testing_prng_seed, 42, "Seed used for threading test randomness") | 625 DEFINE_int(testing_prng_seed, 42, "Seed used for threading test randomness") |
| (...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 892 #undef DEFINE_ALIAS_float | 888 #undef DEFINE_ALIAS_float |
| 893 #undef DEFINE_ALIAS_args | 889 #undef DEFINE_ALIAS_args |
| 894 | 890 |
| 895 #undef FLAG_MODE_DECLARE | 891 #undef FLAG_MODE_DECLARE |
| 896 #undef FLAG_MODE_DEFINE | 892 #undef FLAG_MODE_DEFINE |
| 897 #undef FLAG_MODE_DEFINE_DEFAULTS | 893 #undef FLAG_MODE_DEFINE_DEFAULTS |
| 898 #undef FLAG_MODE_META | 894 #undef FLAG_MODE_META |
| 899 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 895 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
| 900 | 896 |
| 901 #undef COMMA | 897 #undef COMMA |
| OLD | NEW |