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 694 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
705 DEFINE_INT(testing_prng_seed, 42, "Seed used for threading test randomness") | 705 DEFINE_INT(testing_prng_seed, 42, "Seed used for threading test randomness") |
706 #ifdef _WIN32 | 706 #ifdef _WIN32 |
707 DEFINE_STRING(testing_serialization_file, "C:\\Windows\\Temp\\serdes", | 707 DEFINE_STRING(testing_serialization_file, "C:\\Windows\\Temp\\serdes", |
708 "file in which to testing_serialize heap") | 708 "file in which to testing_serialize heap") |
709 #else | 709 #else |
710 DEFINE_STRING(testing_serialization_file, "/tmp/serdes", | 710 DEFINE_STRING(testing_serialization_file, "/tmp/serdes", |
711 "file in which to serialize heap") | 711 "file in which to serialize heap") |
712 #endif | 712 #endif |
713 | 713 |
714 // mksnapshot.cc | 714 // mksnapshot.cc |
715 DEFINE_STRING(extra_code, NULL, | |
716 "A filename with extra code to be included in" | |
717 " the snapshot (mksnapshot only)") | |
718 DEFINE_STRING(startup_blob, NULL, | 715 DEFINE_STRING(startup_blob, NULL, |
719 "Write V8 startup blob file. " | 716 "Write V8 startup blob file. (mksnapshot only)") |
720 "(mksnapshot only)") | |
721 | 717 |
722 // code-stubs-hydrogen.cc | 718 // code-stubs-hydrogen.cc |
723 DEFINE_BOOL(profile_hydrogen_code_stub_compilation, false, | 719 DEFINE_BOOL(profile_hydrogen_code_stub_compilation, false, |
724 "Print the time it takes to lazily compile hydrogen code stubs.") | 720 "Print the time it takes to lazily compile hydrogen code stubs.") |
725 | 721 |
726 DEFINE_BOOL(predictable, false, "enable predictable mode") | 722 DEFINE_BOOL(predictable, false, "enable predictable mode") |
727 DEFINE_NEG_IMPLICATION(predictable, concurrent_recompilation) | 723 DEFINE_NEG_IMPLICATION(predictable, concurrent_recompilation) |
728 DEFINE_NEG_IMPLICATION(predictable, concurrent_osr) | 724 DEFINE_NEG_IMPLICATION(predictable, concurrent_osr) |
729 DEFINE_NEG_IMPLICATION(predictable, concurrent_sweeping) | 725 DEFINE_NEG_IMPLICATION(predictable, concurrent_sweeping) |
730 | 726 |
(...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
998 #undef DEFINE_ALIAS_FLOAT | 994 #undef DEFINE_ALIAS_FLOAT |
999 #undef DEFINE_ALIAS_ARGS | 995 #undef DEFINE_ALIAS_ARGS |
1000 | 996 |
1001 #undef FLAG_MODE_DECLARE | 997 #undef FLAG_MODE_DECLARE |
1002 #undef FLAG_MODE_DEFINE | 998 #undef FLAG_MODE_DEFINE |
1003 #undef FLAG_MODE_DEFINE_DEFAULTS | 999 #undef FLAG_MODE_DEFINE_DEFAULTS |
1004 #undef FLAG_MODE_META | 1000 #undef FLAG_MODE_META |
1005 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1001 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1006 | 1002 |
1007 #undef COMMA | 1003 #undef COMMA |
OLD | NEW |