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

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

Issue 25693003: Add a flag to print the time it takes to compile HydrogenCodeStubs. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 2 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 | Annotate | Revision Log
« src/code-stubs-hydrogen.cc ('K') | « src/code-stubs-hydrogen.cc ('k') | no next file » | 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 603 matching lines...) Expand 10 before | Expand all | Expand 10 after
614 "file in which to testing_serialize heap") 614 "file in which to testing_serialize heap")
615 #else 615 #else
616 DEFINE_string(testing_serialization_file, "/tmp/serdes", 616 DEFINE_string(testing_serialization_file, "/tmp/serdes",
617 "file in which to serialize heap") 617 "file in which to serialize heap")
618 #endif 618 #endif
619 619
620 // mksnapshot.cc 620 // mksnapshot.cc
621 DEFINE_string(extra_code, NULL, "A filename with extra code to be included in" 621 DEFINE_string(extra_code, NULL, "A filename with extra code to be included in"
622 " the snapshot (mksnapshot only)") 622 " the snapshot (mksnapshot only)")
623 623
624 // code-stubs-hydrogen.cc
625 DEFINE_bool(profile_hydrogen_code_stub_compilation,
626 false,
627 "Print the time it takes to lazily compile hydrogen code stubs.")
628
624 // 629 //
625 // Dev shell flags 630 // Dev shell flags
626 // 631 //
627 632
628 DEFINE_bool(help, false, "Print usage message, including flags, on console") 633 DEFINE_bool(help, false, "Print usage message, including flags, on console")
629 DEFINE_bool(dump_counters, false, "Dump counters on exit") 634 DEFINE_bool(dump_counters, false, "Dump counters on exit")
630 635
631 #ifdef ENABLE_DEBUGGER_SUPPORT 636 #ifdef ENABLE_DEBUGGER_SUPPORT
632 DEFINE_bool(debugger, false, "Enable JavaScript debugger") 637 DEFINE_bool(debugger, false, "Enable JavaScript debugger")
633 DEFINE_bool(remote_debugger, false, "Connect JavaScript debugger to the " 638 DEFINE_bool(remote_debugger, false, "Connect JavaScript debugger to the "
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
794 // code-stubs.cc 799 // code-stubs.cc
795 DEFINE_bool(print_code_stubs, false, "print code stubs") 800 DEFINE_bool(print_code_stubs, false, "print code stubs")
796 DEFINE_bool(test_secondary_stub_cache, 801 DEFINE_bool(test_secondary_stub_cache,
797 false, 802 false,
798 "test secondary stub cache by disabling the primary one") 803 "test secondary stub cache by disabling the primary one")
799 804
800 DEFINE_bool(test_primary_stub_cache, 805 DEFINE_bool(test_primary_stub_cache,
801 false, 806 false,
802 "test primary stub cache by disabling the secondary one") 807 "test primary stub cache by disabling the secondary one")
803 808
809
804 // codegen-ia32.cc / codegen-arm.cc 810 // codegen-ia32.cc / codegen-arm.cc
805 DEFINE_bool(print_code, false, "print generated code") 811 DEFINE_bool(print_code, false, "print generated code")
806 DEFINE_bool(print_opt_code, false, "print optimized code") 812 DEFINE_bool(print_opt_code, false, "print optimized code")
807 DEFINE_bool(print_unopt_code, false, "print unoptimized code before " 813 DEFINE_bool(print_unopt_code, false, "print unoptimized code before "
808 "printing optimized code based on it") 814 "printing optimized code based on it")
809 DEFINE_bool(print_code_verbose, false, "print more information for code") 815 DEFINE_bool(print_code_verbose, false, "print more information for code")
810 DEFINE_bool(print_builtin_code, false, "print generated code for builtins") 816 DEFINE_bool(print_builtin_code, false, "print generated code for builtins")
811 817
812 #ifdef ENABLE_DISASSEMBLER 818 #ifdef ENABLE_DISASSEMBLER
813 DEFINE_bool(print_all_code, false, "enable all flags related to printing code") 819 DEFINE_bool(print_all_code, false, "enable all flags related to printing code")
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
852 #undef DEFINE_ALIAS_float 858 #undef DEFINE_ALIAS_float
853 #undef DEFINE_ALIAS_args 859 #undef DEFINE_ALIAS_args
854 860
855 #undef FLAG_MODE_DECLARE 861 #undef FLAG_MODE_DECLARE
856 #undef FLAG_MODE_DEFINE 862 #undef FLAG_MODE_DEFINE
857 #undef FLAG_MODE_DEFINE_DEFAULTS 863 #undef FLAG_MODE_DEFINE_DEFAULTS
858 #undef FLAG_MODE_META 864 #undef FLAG_MODE_META
859 #undef FLAG_MODE_DEFINE_IMPLICATIONS 865 #undef FLAG_MODE_DEFINE_IMPLICATIONS
860 866
861 #undef COMMA 867 #undef COMMA
OLDNEW
« src/code-stubs-hydrogen.cc ('K') | « src/code-stubs-hydrogen.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698