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 806 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
817 "test primary stub cache by disabling the secondary one") | 817 "test primary stub cache by disabling the secondary one") |
818 | 818 |
819 | 819 |
820 // codegen-ia32.cc / codegen-arm.cc | 820 // codegen-ia32.cc / codegen-arm.cc |
821 DEFINE_bool(print_code, false, "print generated code") | 821 DEFINE_bool(print_code, false, "print generated code") |
822 DEFINE_bool(print_opt_code, false, "print optimized code") | 822 DEFINE_bool(print_opt_code, false, "print optimized code") |
823 DEFINE_bool(print_unopt_code, false, "print unoptimized code before " | 823 DEFINE_bool(print_unopt_code, false, "print unoptimized code before " |
824 "printing optimized code based on it") | 824 "printing optimized code based on it") |
825 DEFINE_bool(print_code_verbose, false, "print more information for code") | 825 DEFINE_bool(print_code_verbose, false, "print more information for code") |
826 DEFINE_bool(print_builtin_code, false, "print generated code for builtins") | 826 DEFINE_bool(print_builtin_code, false, "print generated code for builtins") |
827 DEFINE_bool(opt_code_positions, false, "annotate optimize code with source code positions") | |
Michael Starzinger
2013/10/18 13:04:21
nit: s/opt_code_positions/print_opt_code_positions
danno
2013/10/19 17:11:40
Done.
| |
828 | |
829 DEFINE_bool(sodium, false, "print generated code output suitable for use with " | |
830 "the Sodium code viewer") | |
831 | |
832 DEFINE_implication(sodium, print_code_stubs) | |
833 DEFINE_implication(sodium, print_code) | |
834 DEFINE_implication(sodium, print_opt_code) | |
835 DEFINE_implication(sodium, opt_code_positions) | |
836 DEFINE_implication(sodium, code_comments) | |
827 | 837 |
828 #ifdef ENABLE_DISASSEMBLER | 838 #ifdef ENABLE_DISASSEMBLER |
829 DEFINE_bool(print_all_code, false, "enable all flags related to printing code") | 839 DEFINE_bool(print_all_code, false, "enable all flags related to printing code") |
830 DEFINE_implication(print_all_code, print_code) | 840 DEFINE_implication(print_all_code, print_code) |
831 DEFINE_implication(print_all_code, print_opt_code) | 841 DEFINE_implication(print_all_code, print_opt_code) |
832 DEFINE_implication(print_all_code, print_unopt_code) | 842 DEFINE_implication(print_all_code, print_unopt_code) |
833 DEFINE_implication(print_all_code, print_code_verbose) | 843 DEFINE_implication(print_all_code, print_code_verbose) |
834 DEFINE_implication(print_all_code, print_builtin_code) | 844 DEFINE_implication(print_all_code, print_builtin_code) |
835 DEFINE_implication(print_all_code, print_code_stubs) | 845 DEFINE_implication(print_all_code, print_code_stubs) |
836 DEFINE_implication(print_all_code, code_comments) | 846 DEFINE_implication(print_all_code, code_comments) |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
868 #undef DEFINE_ALIAS_float | 878 #undef DEFINE_ALIAS_float |
869 #undef DEFINE_ALIAS_args | 879 #undef DEFINE_ALIAS_args |
870 | 880 |
871 #undef FLAG_MODE_DECLARE | 881 #undef FLAG_MODE_DECLARE |
872 #undef FLAG_MODE_DEFINE | 882 #undef FLAG_MODE_DEFINE |
873 #undef FLAG_MODE_DEFINE_DEFAULTS | 883 #undef FLAG_MODE_DEFINE_DEFAULTS |
874 #undef FLAG_MODE_META | 884 #undef FLAG_MODE_META |
875 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 885 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
876 | 886 |
877 #undef COMMA | 887 #undef COMMA |
OLD | NEW |