OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // This file defines all of the flags. It is separated into different section, | 5 // This file defines all of the flags. It is separated into different section, |
6 // for Debug, Release, Logging and Profiling, etc. To add a new flag, find the | 6 // for Debug, Release, Logging and Profiling, etc. To add a new flag, find the |
7 // correct section, and use one of the DEFINE_ macros, without a trailing ';'. | 7 // correct section, and use one of the DEFINE_ macros, without a trailing ';'. |
8 // | 8 // |
9 // This include does not have a guard, because it is a template-style include, | 9 // This include does not have a guard, because it is a template-style include, |
10 // which can be included multiple times in different modes. It expects to have | 10 // which can be included multiple times in different modes. It expects to have |
(...skipping 821 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
832 DEFINE_BOOL(print_scopes, false, "print scopes") | 832 DEFINE_BOOL(print_scopes, false, "print scopes") |
833 | 833 |
834 // contexts.cc | 834 // contexts.cc |
835 DEFINE_BOOL(trace_contexts, false, "trace contexts operations") | 835 DEFINE_BOOL(trace_contexts, false, "trace contexts operations") |
836 | 836 |
837 // heap.cc | 837 // heap.cc |
838 DEFINE_BOOL(gc_verbose, false, "print stuff during garbage collection") | 838 DEFINE_BOOL(gc_verbose, false, "print stuff during garbage collection") |
839 DEFINE_BOOL(heap_stats, false, "report heap statistics before and after GC") | 839 DEFINE_BOOL(heap_stats, false, "report heap statistics before and after GC") |
840 DEFINE_BOOL(code_stats, false, "report code statistics after GC") | 840 DEFINE_BOOL(code_stats, false, "report code statistics after GC") |
841 DEFINE_BOOL(print_handles, false, "report handles after GC") | 841 DEFINE_BOOL(print_handles, false, "report handles after GC") |
842 DEFINE_BOOL(check_handle_count, false, | |
843 "Check that there are not too many handles at GC") | |
844 DEFINE_BOOL(print_global_handles, false, "report global handles after GC") | 842 DEFINE_BOOL(print_global_handles, false, "report global handles after GC") |
845 | 843 |
846 // TurboFan debug-only flags. | 844 // TurboFan debug-only flags. |
847 DEFINE_BOOL(print_turbo_replay, false, | 845 DEFINE_BOOL(print_turbo_replay, false, |
848 "print C++ code to recreate TurboFan graphs") | 846 "print C++ code to recreate TurboFan graphs") |
849 | 847 |
850 // objects.cc | 848 // objects.cc |
851 DEFINE_BOOL(trace_normalization, false, | 849 DEFINE_BOOL(trace_normalization, false, |
852 "prints when objects are turned into dictionaries.") | 850 "prints when objects are turned into dictionaries.") |
853 | 851 |
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1038 #undef DEFINE_ALIAS_FLOAT | 1036 #undef DEFINE_ALIAS_FLOAT |
1039 #undef DEFINE_ALIAS_ARGS | 1037 #undef DEFINE_ALIAS_ARGS |
1040 | 1038 |
1041 #undef FLAG_MODE_DECLARE | 1039 #undef FLAG_MODE_DECLARE |
1042 #undef FLAG_MODE_DEFINE | 1040 #undef FLAG_MODE_DEFINE |
1043 #undef FLAG_MODE_DEFINE_DEFAULTS | 1041 #undef FLAG_MODE_DEFINE_DEFAULTS |
1044 #undef FLAG_MODE_META | 1042 #undef FLAG_MODE_META |
1045 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1043 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1046 | 1044 |
1047 #undef COMMA | 1045 #undef COMMA |
OLD | NEW |