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 784 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
795 "Time events including external callbacks.") | 795 "Time events including external callbacks.") |
796 DEFINE_implication(log_timer_events, log_internal_timer_events) | 796 DEFINE_implication(log_timer_events, log_internal_timer_events) |
797 DEFINE_implication(log_internal_timer_events, prof) | 797 DEFINE_implication(log_internal_timer_events, prof) |
798 | 798 |
799 DEFINE_bool(redirect_code_traces, false, | 799 DEFINE_bool(redirect_code_traces, false, |
800 "output deopt information and disassembly into file " | 800 "output deopt information and disassembly into file " |
801 "code-<pid>-<isolate id>.asm") | 801 "code-<pid>-<isolate id>.asm") |
802 DEFINE_string(redirect_code_traces_to, NULL, | 802 DEFINE_string(redirect_code_traces_to, NULL, |
803 "output deopt information and disassembly into the given file") | 803 "output deopt information and disassembly into the given file") |
804 | 804 |
| 805 DEFINE_bool(hydrogen_track_positions, false, |
| 806 "track source code positions when building IR") |
| 807 |
805 // | 808 // |
806 // Disassembler only flags | 809 // Disassembler only flags |
807 // | 810 // |
808 #undef FLAG | 811 #undef FLAG |
809 #ifdef ENABLE_DISASSEMBLER | 812 #ifdef ENABLE_DISASSEMBLER |
810 #define FLAG FLAG_FULL | 813 #define FLAG FLAG_FULL |
811 #else | 814 #else |
812 #define FLAG FLAG_READONLY | 815 #define FLAG FLAG_READONLY |
813 #endif | 816 #endif |
814 | 817 |
(...skipping 12 matching lines...) Expand all Loading... |
827 "test primary stub cache by disabling the secondary one") | 830 "test primary stub cache by disabling the secondary one") |
828 | 831 |
829 | 832 |
830 // codegen-ia32.cc / codegen-arm.cc | 833 // codegen-ia32.cc / codegen-arm.cc |
831 DEFINE_bool(print_code, false, "print generated code") | 834 DEFINE_bool(print_code, false, "print generated code") |
832 DEFINE_bool(print_opt_code, false, "print optimized code") | 835 DEFINE_bool(print_opt_code, false, "print optimized code") |
833 DEFINE_bool(print_unopt_code, false, "print unoptimized code before " | 836 DEFINE_bool(print_unopt_code, false, "print unoptimized code before " |
834 "printing optimized code based on it") | 837 "printing optimized code based on it") |
835 DEFINE_bool(print_code_verbose, false, "print more information for code") | 838 DEFINE_bool(print_code_verbose, false, "print more information for code") |
836 DEFINE_bool(print_builtin_code, false, "print generated code for builtins") | 839 DEFINE_bool(print_builtin_code, false, "print generated code for builtins") |
837 DEFINE_bool(emit_opt_code_positions, false, | |
838 "annotate optimize code with source code positions") | |
839 | 840 |
840 #ifdef ENABLE_DISASSEMBLER | 841 #ifdef ENABLE_DISASSEMBLER |
841 DEFINE_bool(sodium, false, "print generated code output suitable for use with " | 842 DEFINE_bool(sodium, false, "print generated code output suitable for use with " |
842 "the Sodium code viewer") | 843 "the Sodium code viewer") |
843 | 844 |
844 DEFINE_implication(sodium, print_code_stubs) | 845 DEFINE_implication(sodium, print_code_stubs) |
845 DEFINE_implication(sodium, print_code) | 846 DEFINE_implication(sodium, print_code) |
846 DEFINE_implication(sodium, print_opt_code) | 847 DEFINE_implication(sodium, print_opt_code) |
847 DEFINE_implication(sodium, emit_opt_code_positions) | 848 DEFINE_implication(sodium, hydrogen_track_positions) |
848 DEFINE_implication(sodium, code_comments) | 849 DEFINE_implication(sodium, code_comments) |
849 | 850 |
850 DEFINE_bool(print_all_code, false, "enable all flags related to printing code") | 851 DEFINE_bool(print_all_code, false, "enable all flags related to printing code") |
851 DEFINE_implication(print_all_code, print_code) | 852 DEFINE_implication(print_all_code, print_code) |
852 DEFINE_implication(print_all_code, print_opt_code) | 853 DEFINE_implication(print_all_code, print_opt_code) |
853 DEFINE_implication(print_all_code, print_unopt_code) | 854 DEFINE_implication(print_all_code, print_unopt_code) |
854 DEFINE_implication(print_all_code, print_code_verbose) | 855 DEFINE_implication(print_all_code, print_code_verbose) |
855 DEFINE_implication(print_all_code, print_builtin_code) | 856 DEFINE_implication(print_all_code, print_builtin_code) |
856 DEFINE_implication(print_all_code, print_code_stubs) | 857 DEFINE_implication(print_all_code, print_code_stubs) |
857 DEFINE_implication(print_all_code, code_comments) | 858 DEFINE_implication(print_all_code, code_comments) |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
890 #undef DEFINE_ALIAS_float | 891 #undef DEFINE_ALIAS_float |
891 #undef DEFINE_ALIAS_args | 892 #undef DEFINE_ALIAS_args |
892 | 893 |
893 #undef FLAG_MODE_DECLARE | 894 #undef FLAG_MODE_DECLARE |
894 #undef FLAG_MODE_DEFINE | 895 #undef FLAG_MODE_DEFINE |
895 #undef FLAG_MODE_DEFINE_DEFAULTS | 896 #undef FLAG_MODE_DEFINE_DEFAULTS |
896 #undef FLAG_MODE_META | 897 #undef FLAG_MODE_META |
897 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 898 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
898 | 899 |
899 #undef COMMA | 900 #undef COMMA |
OLD | NEW |