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