| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 // This file defines all of the flags. It is separated into different section, | 5 // This file defines all of the flags. It is separated into different section, |
| 6 // for Debug, Release, Logging and Profiling, etc. To add a new flag, find the | 6 // for Debug, Release, Logging and Profiling, etc. To add a new flag, find the |
| 7 // correct section, and use one of the DEFINE_ macros, without a trailing ';'. | 7 // correct section, and use one of the DEFINE_ macros, without a trailing ';'. |
| 8 // | 8 // |
| 9 // This include does not have a guard, because it is a template-style include, | 9 // This include does not have a guard, because it is a template-style include, |
| 10 // which can be included multiple times in different modes. It expects to have | 10 // which can be included multiple times in different modes. It expects to have |
| (...skipping 711 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 722 DEFINE_BOOL(randomize_hashes, true, | 722 DEFINE_BOOL(randomize_hashes, true, |
| 723 "randomize hashes to avoid predictable hash collisions " | 723 "randomize hashes to avoid predictable hash collisions " |
| 724 "(with snapshots this option cannot override the baked-in seed)") | 724 "(with snapshots this option cannot override the baked-in seed)") |
| 725 DEFINE_INT(hash_seed, 0, | 725 DEFINE_INT(hash_seed, 0, |
| 726 "Fixed seed to use to hash property keys (0 means random)" | 726 "Fixed seed to use to hash property keys (0 means random)" |
| 727 "(with snapshots this option cannot override the baked-in seed)") | 727 "(with snapshots this option cannot override the baked-in seed)") |
| 728 | 728 |
| 729 // snapshot-common.cc | 729 // snapshot-common.cc |
| 730 DEFINE_BOOL(profile_deserialization, false, | 730 DEFINE_BOOL(profile_deserialization, false, |
| 731 "Print the time it takes to deserialize the snapshot.") | 731 "Print the time it takes to deserialize the snapshot.") |
| 732 DEFINE_BOOL(serialization_statistics, false, |
| 733 "Collect statistics on serialized objects.") |
| 732 | 734 |
| 733 // Regexp | 735 // Regexp |
| 734 DEFINE_BOOL(regexp_optimization, true, "generate optimized regexp code") | 736 DEFINE_BOOL(regexp_optimization, true, "generate optimized regexp code") |
| 735 | 737 |
| 736 // Testing flags test/cctest/test-{flags,api,serialization}.cc | 738 // Testing flags test/cctest/test-{flags,api,serialization}.cc |
| 737 DEFINE_BOOL(testing_bool_flag, true, "testing_bool_flag") | 739 DEFINE_BOOL(testing_bool_flag, true, "testing_bool_flag") |
| 738 DEFINE_MAYBE_BOOL(testing_maybe_bool_flag, "testing_maybe_bool_flag") | 740 DEFINE_MAYBE_BOOL(testing_maybe_bool_flag, "testing_maybe_bool_flag") |
| 739 DEFINE_INT(testing_int_flag, 13, "testing_int_flag") | 741 DEFINE_INT(testing_int_flag, 13, "testing_int_flag") |
| 740 DEFINE_FLOAT(testing_float_flag, 2.5, "float-flag") | 742 DEFINE_FLOAT(testing_float_flag, 2.5, "float-flag") |
| 741 DEFINE_STRING(testing_string_flag, "Hello, world!", "string-flag") | 743 DEFINE_STRING(testing_string_flag, "Hello, world!", "string-flag") |
| (...skipping 304 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1046 #undef DEFINE_ALIAS_FLOAT | 1048 #undef DEFINE_ALIAS_FLOAT |
| 1047 #undef DEFINE_ALIAS_ARGS | 1049 #undef DEFINE_ALIAS_ARGS |
| 1048 | 1050 |
| 1049 #undef FLAG_MODE_DECLARE | 1051 #undef FLAG_MODE_DECLARE |
| 1050 #undef FLAG_MODE_DEFINE | 1052 #undef FLAG_MODE_DEFINE |
| 1051 #undef FLAG_MODE_DEFINE_DEFAULTS | 1053 #undef FLAG_MODE_DEFINE_DEFAULTS |
| 1052 #undef FLAG_MODE_META | 1054 #undef FLAG_MODE_META |
| 1053 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1055 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
| 1054 | 1056 |
| 1055 #undef COMMA | 1057 #undef COMMA |
| OLD | NEW |