Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(20)

Side by Side Diff: src/flag-definitions.h

Issue 211393007: Backport https://code.google.com/p/v8/source/detail?r=19360 to 3.24.35 (Closed) Base URL: https://github.com/v8/v8.git@3.24
Patch Set: Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/deoptimizer.cc ('k') | src/hydrogen.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 788 matching lines...) Expand 10 before | Expand all | Expand 10 after
799 "Time events including external callbacks.") 799 "Time events including external callbacks.")
800 DEFINE_implication(log_timer_events, log_internal_timer_events) 800 DEFINE_implication(log_timer_events, log_internal_timer_events)
801 DEFINE_implication(log_internal_timer_events, prof) 801 DEFINE_implication(log_internal_timer_events, prof)
802 802
803 DEFINE_bool(redirect_code_traces, false, 803 DEFINE_bool(redirect_code_traces, false,
804 "output deopt information and disassembly into file " 804 "output deopt information and disassembly into file "
805 "code-<pid>-<isolate id>.asm") 805 "code-<pid>-<isolate id>.asm")
806 DEFINE_string(redirect_code_traces_to, NULL, 806 DEFINE_string(redirect_code_traces_to, NULL,
807 "output deopt information and disassembly into the given file") 807 "output deopt information and disassembly into the given file")
808 808
809 DEFINE_bool(hydrogen_track_positions, false,
810 "track source code positions when building IR")
811
809 // 812 //
810 // Disassembler only flags 813 // Disassembler only flags
811 // 814 //
812 #undef FLAG 815 #undef FLAG
813 #ifdef ENABLE_DISASSEMBLER 816 #ifdef ENABLE_DISASSEMBLER
814 #define FLAG FLAG_FULL 817 #define FLAG FLAG_FULL
815 #else 818 #else
816 #define FLAG FLAG_READONLY 819 #define FLAG FLAG_READONLY
817 #endif 820 #endif
818 821
(...skipping 12 matching lines...) Expand all
831 "test primary stub cache by disabling the secondary one") 834 "test primary stub cache by disabling the secondary one")
832 835
833 836
834 // codegen-ia32.cc / codegen-arm.cc 837 // codegen-ia32.cc / codegen-arm.cc
835 DEFINE_bool(print_code, false, "print generated code") 838 DEFINE_bool(print_code, false, "print generated code")
836 DEFINE_bool(print_opt_code, false, "print optimized code") 839 DEFINE_bool(print_opt_code, false, "print optimized code")
837 DEFINE_bool(print_unopt_code, false, "print unoptimized code before " 840 DEFINE_bool(print_unopt_code, false, "print unoptimized code before "
838 "printing optimized code based on it") 841 "printing optimized code based on it")
839 DEFINE_bool(print_code_verbose, false, "print more information for code") 842 DEFINE_bool(print_code_verbose, false, "print more information for code")
840 DEFINE_bool(print_builtin_code, false, "print generated code for builtins") 843 DEFINE_bool(print_builtin_code, false, "print generated code for builtins")
841 DEFINE_bool(emit_opt_code_positions, false,
842 "annotate optimize code with source code positions")
843 844
844 #ifdef ENABLE_DISASSEMBLER 845 #ifdef ENABLE_DISASSEMBLER
845 DEFINE_bool(sodium, false, "print generated code output suitable for use with " 846 DEFINE_bool(sodium, false, "print generated code output suitable for use with "
846 "the Sodium code viewer") 847 "the Sodium code viewer")
847 848
848 DEFINE_implication(sodium, print_code_stubs) 849 DEFINE_implication(sodium, print_code_stubs)
849 DEFINE_implication(sodium, print_code) 850 DEFINE_implication(sodium, print_code)
850 DEFINE_implication(sodium, print_opt_code) 851 DEFINE_implication(sodium, print_opt_code)
851 DEFINE_implication(sodium, emit_opt_code_positions) 852 DEFINE_implication(sodium, hydrogen_track_positions)
852 DEFINE_implication(sodium, code_comments) 853 DEFINE_implication(sodium, code_comments)
853 854
854 DEFINE_bool(print_all_code, false, "enable all flags related to printing code") 855 DEFINE_bool(print_all_code, false, "enable all flags related to printing code")
855 DEFINE_implication(print_all_code, print_code) 856 DEFINE_implication(print_all_code, print_code)
856 DEFINE_implication(print_all_code, print_opt_code) 857 DEFINE_implication(print_all_code, print_opt_code)
857 DEFINE_implication(print_all_code, print_unopt_code) 858 DEFINE_implication(print_all_code, print_unopt_code)
858 DEFINE_implication(print_all_code, print_code_verbose) 859 DEFINE_implication(print_all_code, print_code_verbose)
859 DEFINE_implication(print_all_code, print_builtin_code) 860 DEFINE_implication(print_all_code, print_builtin_code)
860 DEFINE_implication(print_all_code, print_code_stubs) 861 DEFINE_implication(print_all_code, print_code_stubs)
861 DEFINE_implication(print_all_code, code_comments) 862 DEFINE_implication(print_all_code, code_comments)
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
894 #undef DEFINE_ALIAS_float 895 #undef DEFINE_ALIAS_float
895 #undef DEFINE_ALIAS_args 896 #undef DEFINE_ALIAS_args
896 897
897 #undef FLAG_MODE_DECLARE 898 #undef FLAG_MODE_DECLARE
898 #undef FLAG_MODE_DEFINE 899 #undef FLAG_MODE_DEFINE
899 #undef FLAG_MODE_DEFINE_DEFAULTS 900 #undef FLAG_MODE_DEFINE_DEFAULTS
900 #undef FLAG_MODE_META 901 #undef FLAG_MODE_META
901 #undef FLAG_MODE_DEFINE_IMPLICATIONS 902 #undef FLAG_MODE_DEFINE_IMPLICATIONS
902 903
903 #undef COMMA 904 #undef COMMA
OLDNEW
« no previous file with comments | « src/deoptimizer.cc ('k') | src/hydrogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698