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 696 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
707 "file in which to testing_serialize heap") | 707 "file in which to testing_serialize heap") |
708 #else | 708 #else |
709 DEFINE_STRING(testing_serialization_file, "/tmp/serdes", | 709 DEFINE_STRING(testing_serialization_file, "/tmp/serdes", |
710 "file in which to serialize heap") | 710 "file in which to serialize heap") |
711 #endif | 711 #endif |
712 | 712 |
713 // mksnapshot.cc | 713 // mksnapshot.cc |
714 DEFINE_STRING(extra_code, NULL, | 714 DEFINE_STRING(extra_code, NULL, |
715 "A filename with extra code to be included in" | 715 "A filename with extra code to be included in" |
716 " the snapshot (mksnapshot only)") | 716 " the snapshot (mksnapshot only)") |
| 717 DEFINE_STRING(raw_file, NULL, |
| 718 "A file to write the raw snapshot bytes to. " |
| 719 "(mksnapshot only)") |
| 720 DEFINE_STRING(raw_context_file, NULL, |
| 721 "A file to write the raw context " |
| 722 "snapshot bytes to. (mksnapshot only)") |
717 DEFINE_STRING(startup_blob, NULL, | 723 DEFINE_STRING(startup_blob, NULL, |
718 "Write V8 startup blob file. " | 724 "Write V8 startup blob file. " |
719 "(mksnapshot only)") | 725 "(mksnapshot only)") |
720 | 726 |
721 // code-stubs-hydrogen.cc | 727 // code-stubs-hydrogen.cc |
722 DEFINE_BOOL(profile_hydrogen_code_stub_compilation, false, | 728 DEFINE_BOOL(profile_hydrogen_code_stub_compilation, false, |
723 "Print the time it takes to lazily compile hydrogen code stubs.") | 729 "Print the time it takes to lazily compile hydrogen code stubs.") |
724 | 730 |
725 DEFINE_BOOL(predictable, false, "enable predictable mode") | 731 DEFINE_BOOL(predictable, false, "enable predictable mode") |
726 DEFINE_NEG_IMPLICATION(predictable, concurrent_recompilation) | 732 DEFINE_NEG_IMPLICATION(predictable, concurrent_recompilation) |
(...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
997 #undef DEFINE_ALIAS_FLOAT | 1003 #undef DEFINE_ALIAS_FLOAT |
998 #undef DEFINE_ALIAS_ARGS | 1004 #undef DEFINE_ALIAS_ARGS |
999 | 1005 |
1000 #undef FLAG_MODE_DECLARE | 1006 #undef FLAG_MODE_DECLARE |
1001 #undef FLAG_MODE_DEFINE | 1007 #undef FLAG_MODE_DEFINE |
1002 #undef FLAG_MODE_DEFINE_DEFAULTS | 1008 #undef FLAG_MODE_DEFINE_DEFAULTS |
1003 #undef FLAG_MODE_META | 1009 #undef FLAG_MODE_META |
1004 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1010 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1005 | 1011 |
1006 #undef COMMA | 1012 #undef COMMA |
OLD | NEW |