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 619 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
630 "file in which to serialize heap") | 630 "file in which to serialize heap") |
631 #endif | 631 #endif |
632 | 632 |
633 // mksnapshot.cc | 633 // mksnapshot.cc |
634 DEFINE_string(extra_code, NULL, "A filename with extra code to be included in" | 634 DEFINE_string(extra_code, NULL, "A filename with extra code to be included in" |
635 " the snapshot (mksnapshot only)") | 635 " the snapshot (mksnapshot only)") |
636 DEFINE_string(raw_file, NULL, "A file to write the raw snapshot bytes to. " | 636 DEFINE_string(raw_file, NULL, "A file to write the raw snapshot bytes to. " |
637 "(mksnapshot only)") | 637 "(mksnapshot only)") |
638 DEFINE_string(raw_context_file, NULL, "A file to write the raw context " | 638 DEFINE_string(raw_context_file, NULL, "A file to write the raw context " |
639 "snapshot bytes to. (mksnapshot only)") | 639 "snapshot bytes to. (mksnapshot only)") |
640 DEFINE_string(startup_blob, NULL, "Write V8 startup blob file. " | 640 DEFINE_bool(omit, false, "Omit raw snapshot bytes in generated code. " |
641 "(mksnapshot only)") | 641 "(mksnapshot only)") |
642 | 642 |
643 // code-stubs-hydrogen.cc | 643 // code-stubs-hydrogen.cc |
644 DEFINE_bool(profile_hydrogen_code_stub_compilation, false, | 644 DEFINE_bool(profile_hydrogen_code_stub_compilation, false, |
645 "Print the time it takes to lazily compile hydrogen code stubs.") | 645 "Print the time it takes to lazily compile hydrogen code stubs.") |
646 | 646 |
647 DEFINE_bool(predictable, false, "enable predictable mode") | 647 DEFINE_bool(predictable, false, "enable predictable mode") |
648 DEFINE_neg_implication(predictable, concurrent_recompilation) | 648 DEFINE_neg_implication(predictable, concurrent_recompilation) |
649 DEFINE_neg_implication(predictable, concurrent_osr) | 649 DEFINE_neg_implication(predictable, concurrent_osr) |
650 DEFINE_neg_implication(predictable, concurrent_sweeping) | 650 DEFINE_neg_implication(predictable, concurrent_sweeping) |
651 DEFINE_neg_implication(predictable, parallel_sweeping) | 651 DEFINE_neg_implication(predictable, parallel_sweeping) |
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
892 #undef DEFINE_ALIAS_float | 892 #undef DEFINE_ALIAS_float |
893 #undef DEFINE_ALIAS_args | 893 #undef DEFINE_ALIAS_args |
894 | 894 |
895 #undef FLAG_MODE_DECLARE | 895 #undef FLAG_MODE_DECLARE |
896 #undef FLAG_MODE_DEFINE | 896 #undef FLAG_MODE_DEFINE |
897 #undef FLAG_MODE_DEFINE_DEFAULTS | 897 #undef FLAG_MODE_DEFINE_DEFAULTS |
898 #undef FLAG_MODE_META | 898 #undef FLAG_MODE_META |
899 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 899 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
900 | 900 |
901 #undef COMMA | 901 #undef COMMA |
OLD | NEW |