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 623 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
634 "file in which to serialize heap") | 634 "file in which to serialize heap") |
635 #endif | 635 #endif |
636 | 636 |
637 // mksnapshot.cc | 637 // mksnapshot.cc |
638 DEFINE_string(extra_code, NULL, "A filename with extra code to be included in" | 638 DEFINE_string(extra_code, NULL, "A filename with extra code to be included in" |
639 " the snapshot (mksnapshot only)") | 639 " the snapshot (mksnapshot only)") |
640 DEFINE_string(raw_file, NULL, "A file to write the raw snapshot bytes to. " | 640 DEFINE_string(raw_file, NULL, "A file to write the raw snapshot bytes to. " |
641 "(mksnapshot only)") | 641 "(mksnapshot only)") |
642 DEFINE_string(raw_context_file, NULL, "A file to write the raw context " | 642 DEFINE_string(raw_context_file, NULL, "A file to write the raw context " |
643 "snapshot bytes to. (mksnapshot only)") | 643 "snapshot bytes to. (mksnapshot only)") |
644 DEFINE_bool(omit, false, "Omit raw snapshot bytes in generated code. " | 644 DEFINE_string(startup_blob, NULL, "Write V8 startup blob file. " |
645 "(mksnapshot only)") | 645 "(mksnapshot only)") |
646 | 646 |
647 // code-stubs-hydrogen.cc | 647 // code-stubs-hydrogen.cc |
648 DEFINE_bool(profile_hydrogen_code_stub_compilation, false, | 648 DEFINE_bool(profile_hydrogen_code_stub_compilation, false, |
649 "Print the time it takes to lazily compile hydrogen code stubs.") | 649 "Print the time it takes to lazily compile hydrogen code stubs.") |
650 | 650 |
651 DEFINE_bool(predictable, false, "enable predictable mode") | 651 DEFINE_bool(predictable, false, "enable predictable mode") |
652 DEFINE_neg_implication(predictable, concurrent_recompilation) | 652 DEFINE_neg_implication(predictable, concurrent_recompilation) |
653 DEFINE_neg_implication(predictable, concurrent_osr) | 653 DEFINE_neg_implication(predictable, concurrent_osr) |
654 DEFINE_neg_implication(predictable, concurrent_sweeping) | 654 DEFINE_neg_implication(predictable, concurrent_sweeping) |
655 DEFINE_neg_implication(predictable, parallel_sweeping) | 655 DEFINE_neg_implication(predictable, parallel_sweeping) |
(...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
914 #undef DEFINE_ALIAS_float | 914 #undef DEFINE_ALIAS_float |
915 #undef DEFINE_ALIAS_args | 915 #undef DEFINE_ALIAS_args |
916 | 916 |
917 #undef FLAG_MODE_DECLARE | 917 #undef FLAG_MODE_DECLARE |
918 #undef FLAG_MODE_DEFINE | 918 #undef FLAG_MODE_DEFINE |
919 #undef FLAG_MODE_DEFINE_DEFAULTS | 919 #undef FLAG_MODE_DEFINE_DEFAULTS |
920 #undef FLAG_MODE_META | 920 #undef FLAG_MODE_META |
921 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 921 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
922 | 922 |
923 #undef COMMA | 923 #undef COMMA |
OLD | NEW |