OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 804 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
815 "AArch64 instruction statistics log file.") | 815 "AArch64 instruction statistics log file.") |
816 DEFINE_int(log_instruction_period, 1 << 22, | 816 DEFINE_int(log_instruction_period, 1 << 22, |
817 "AArch64 instruction statistics logging period.") | 817 "AArch64 instruction statistics logging period.") |
818 | 818 |
819 DEFINE_bool(redirect_code_traces, false, | 819 DEFINE_bool(redirect_code_traces, false, |
820 "output deopt information and disassembly into file " | 820 "output deopt information and disassembly into file " |
821 "code-<pid>-<isolate id>.asm") | 821 "code-<pid>-<isolate id>.asm") |
822 DEFINE_string(redirect_code_traces_to, NULL, | 822 DEFINE_string(redirect_code_traces_to, NULL, |
823 "output deopt information and disassembly into the given file") | 823 "output deopt information and disassembly into the given file") |
824 | 824 |
| 825 DEFINE_bool(hydrogen_track_positions, false, |
| 826 "track source code positions when building IR") |
| 827 |
825 // | 828 // |
826 // Disassembler only flags | 829 // Disassembler only flags |
827 // | 830 // |
828 #undef FLAG | 831 #undef FLAG |
829 #ifdef ENABLE_DISASSEMBLER | 832 #ifdef ENABLE_DISASSEMBLER |
830 #define FLAG FLAG_FULL | 833 #define FLAG FLAG_FULL |
831 #else | 834 #else |
832 #define FLAG FLAG_READONLY | 835 #define FLAG FLAG_READONLY |
833 #endif | 836 #endif |
834 | 837 |
(...skipping 12 matching lines...) Expand all Loading... |
847 "test primary stub cache by disabling the secondary one") | 850 "test primary stub cache by disabling the secondary one") |
848 | 851 |
849 | 852 |
850 // codegen-ia32.cc / codegen-arm.cc | 853 // codegen-ia32.cc / codegen-arm.cc |
851 DEFINE_bool(print_code, false, "print generated code") | 854 DEFINE_bool(print_code, false, "print generated code") |
852 DEFINE_bool(print_opt_code, false, "print optimized code") | 855 DEFINE_bool(print_opt_code, false, "print optimized code") |
853 DEFINE_bool(print_unopt_code, false, "print unoptimized code before " | 856 DEFINE_bool(print_unopt_code, false, "print unoptimized code before " |
854 "printing optimized code based on it") | 857 "printing optimized code based on it") |
855 DEFINE_bool(print_code_verbose, false, "print more information for code") | 858 DEFINE_bool(print_code_verbose, false, "print more information for code") |
856 DEFINE_bool(print_builtin_code, false, "print generated code for builtins") | 859 DEFINE_bool(print_builtin_code, false, "print generated code for builtins") |
857 DEFINE_bool(emit_opt_code_positions, false, | |
858 "annotate optimize code with source code positions") | |
859 | 860 |
860 #ifdef ENABLE_DISASSEMBLER | 861 #ifdef ENABLE_DISASSEMBLER |
861 DEFINE_bool(sodium, false, "print generated code output suitable for use with " | 862 DEFINE_bool(sodium, false, "print generated code output suitable for use with " |
862 "the Sodium code viewer") | 863 "the Sodium code viewer") |
863 | 864 |
864 DEFINE_implication(sodium, print_code_stubs) | 865 DEFINE_implication(sodium, print_code_stubs) |
865 DEFINE_implication(sodium, print_code) | 866 DEFINE_implication(sodium, print_code) |
866 DEFINE_implication(sodium, print_opt_code) | 867 DEFINE_implication(sodium, print_opt_code) |
867 DEFINE_implication(sodium, emit_opt_code_positions) | 868 DEFINE_implication(sodium, hydrogen_track_positions) |
868 DEFINE_implication(sodium, code_comments) | 869 DEFINE_implication(sodium, code_comments) |
869 | 870 |
870 DEFINE_bool(print_all_code, false, "enable all flags related to printing code") | 871 DEFINE_bool(print_all_code, false, "enable all flags related to printing code") |
871 DEFINE_implication(print_all_code, print_code) | 872 DEFINE_implication(print_all_code, print_code) |
872 DEFINE_implication(print_all_code, print_opt_code) | 873 DEFINE_implication(print_all_code, print_opt_code) |
873 DEFINE_implication(print_all_code, print_unopt_code) | 874 DEFINE_implication(print_all_code, print_unopt_code) |
874 DEFINE_implication(print_all_code, print_code_verbose) | 875 DEFINE_implication(print_all_code, print_code_verbose) |
875 DEFINE_implication(print_all_code, print_builtin_code) | 876 DEFINE_implication(print_all_code, print_builtin_code) |
876 DEFINE_implication(print_all_code, print_code_stubs) | 877 DEFINE_implication(print_all_code, print_code_stubs) |
877 DEFINE_implication(print_all_code, code_comments) | 878 DEFINE_implication(print_all_code, code_comments) |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
910 #undef DEFINE_ALIAS_float | 911 #undef DEFINE_ALIAS_float |
911 #undef DEFINE_ALIAS_args | 912 #undef DEFINE_ALIAS_args |
912 | 913 |
913 #undef FLAG_MODE_DECLARE | 914 #undef FLAG_MODE_DECLARE |
914 #undef FLAG_MODE_DEFINE | 915 #undef FLAG_MODE_DEFINE |
915 #undef FLAG_MODE_DEFINE_DEFAULTS | 916 #undef FLAG_MODE_DEFINE_DEFAULTS |
916 #undef FLAG_MODE_META | 917 #undef FLAG_MODE_META |
917 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 918 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
918 | 919 |
919 #undef COMMA | 920 #undef COMMA |
OLD | NEW |