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 655 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
666 // runtime.cc | 666 // runtime.cc |
667 DEFINE_bool(trace_lazy, false, "trace lazy compilation") | 667 DEFINE_bool(trace_lazy, false, "trace lazy compilation") |
668 | 668 |
669 // spaces.cc | 669 // spaces.cc |
670 DEFINE_bool(collect_heap_spill_statistics, false, | 670 DEFINE_bool(collect_heap_spill_statistics, false, |
671 "report heap spill statistics along with heap_stats " | 671 "report heap spill statistics along with heap_stats " |
672 "(requires heap_stats)") | 672 "(requires heap_stats)") |
673 | 673 |
674 DEFINE_bool(trace_isolates, false, "trace isolate state changes") | 674 DEFINE_bool(trace_isolates, false, "trace isolate state changes") |
675 | 675 |
676 // VM state | |
677 DEFINE_bool(log_state_changes, false, "Log state changes.") | |
678 | |
679 // Regexp | 676 // Regexp |
680 DEFINE_bool(regexp_possessive_quantifier, | 677 DEFINE_bool(regexp_possessive_quantifier, |
681 false, | 678 false, |
682 "enable possessive quantifier syntax for testing") | 679 "enable possessive quantifier syntax for testing") |
683 DEFINE_bool(trace_regexp_bytecodes, false, "trace regexp bytecode execution") | 680 DEFINE_bool(trace_regexp_bytecodes, false, "trace regexp bytecode execution") |
684 DEFINE_bool(trace_regexp_assembler, | 681 DEFINE_bool(trace_regexp_assembler, |
685 false, | 682 false, |
686 "trace regexp macro assembler calls.") | 683 "trace regexp macro assembler calls.") |
687 | 684 |
688 // | 685 // |
(...skipping 27 matching lines...) Expand all Loading... |
716 "Used with --prof, turns on browser-compatible mode for profiling.") | 713 "Used with --prof, turns on browser-compatible mode for profiling.") |
717 DEFINE_bool(log_regexp, false, "Log regular expression execution.") | 714 DEFINE_bool(log_regexp, false, "Log regular expression execution.") |
718 DEFINE_string(logfile, "v8.log", "Specify the name of the log file.") | 715 DEFINE_string(logfile, "v8.log", "Specify the name of the log file.") |
719 DEFINE_bool(ll_prof, false, "Enable low-level linux profiler.") | 716 DEFINE_bool(ll_prof, false, "Enable low-level linux profiler.") |
720 DEFINE_string(gc_fake_mmap, "/tmp/__v8_gc__", | 717 DEFINE_string(gc_fake_mmap, "/tmp/__v8_gc__", |
721 "Specify the name of the file for fake gc mmap used in ll_prof") | 718 "Specify the name of the file for fake gc mmap used in ll_prof") |
722 DEFINE_bool(log_internal_timer_events, false, "Time internal events.") | 719 DEFINE_bool(log_internal_timer_events, false, "Time internal events.") |
723 DEFINE_bool(log_timer_events, false, | 720 DEFINE_bool(log_timer_events, false, |
724 "Time events including external callbacks.") | 721 "Time events including external callbacks.") |
725 DEFINE_implication(log_timer_events, log_internal_timer_events) | 722 DEFINE_implication(log_timer_events, log_internal_timer_events) |
| 723 DEFINE_implication(log_internal_timer_events, prof) |
726 | 724 |
727 // | 725 // |
728 // Disassembler only flags | 726 // Disassembler only flags |
729 // | 727 // |
730 #undef FLAG | 728 #undef FLAG |
731 #ifdef ENABLE_DISASSEMBLER | 729 #ifdef ENABLE_DISASSEMBLER |
732 #define FLAG FLAG_FULL | 730 #define FLAG FLAG_FULL |
733 #else | 731 #else |
734 #define FLAG FLAG_READONLY | 732 #define FLAG FLAG_READONLY |
735 #endif | 733 #endif |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
777 #undef DEFINE_bool | 775 #undef DEFINE_bool |
778 #undef DEFINE_int | 776 #undef DEFINE_int |
779 #undef DEFINE_string | 777 #undef DEFINE_string |
780 #undef DEFINE_implication | 778 #undef DEFINE_implication |
781 | 779 |
782 #undef FLAG_MODE_DECLARE | 780 #undef FLAG_MODE_DECLARE |
783 #undef FLAG_MODE_DEFINE | 781 #undef FLAG_MODE_DEFINE |
784 #undef FLAG_MODE_DEFINE_DEFAULTS | 782 #undef FLAG_MODE_DEFINE_DEFAULTS |
785 #undef FLAG_MODE_META | 783 #undef FLAG_MODE_META |
786 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 784 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
OLD | NEW |