| 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 825 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 836 DEFINE_BOOL(print_scopes, false, "print scopes") | 836 DEFINE_BOOL(print_scopes, false, "print scopes") |
| 837 | 837 |
| 838 // contexts.cc | 838 // contexts.cc |
| 839 DEFINE_BOOL(trace_contexts, false, "trace contexts operations") | 839 DEFINE_BOOL(trace_contexts, false, "trace contexts operations") |
| 840 | 840 |
| 841 // heap.cc | 841 // heap.cc |
| 842 DEFINE_BOOL(gc_verbose, false, "print stuff during garbage collection") | 842 DEFINE_BOOL(gc_verbose, false, "print stuff during garbage collection") |
| 843 DEFINE_BOOL(heap_stats, false, "report heap statistics before and after GC") | 843 DEFINE_BOOL(heap_stats, false, "report heap statistics before and after GC") |
| 844 DEFINE_BOOL(code_stats, false, "report code statistics after GC") | 844 DEFINE_BOOL(code_stats, false, "report code statistics after GC") |
| 845 DEFINE_BOOL(print_handles, false, "report handles after GC") | 845 DEFINE_BOOL(print_handles, false, "report handles after GC") |
| 846 DEFINE_BOOL(check_handle_count, false, |
| 847 "Check that there are not too many handles at GC") |
| 846 DEFINE_BOOL(print_global_handles, false, "report global handles after GC") | 848 DEFINE_BOOL(print_global_handles, false, "report global handles after GC") |
| 847 | 849 |
| 848 // TurboFan debug-only flags. | 850 // TurboFan debug-only flags. |
| 849 DEFINE_BOOL(print_turbo_replay, false, | 851 DEFINE_BOOL(print_turbo_replay, false, |
| 850 "print C++ code to recreate TurboFan graphs") | 852 "print C++ code to recreate TurboFan graphs") |
| 851 | 853 |
| 852 // objects.cc | 854 // objects.cc |
| 853 DEFINE_BOOL(trace_normalization, false, | 855 DEFINE_BOOL(trace_normalization, false, |
| 854 "prints when objects are turned into dictionaries.") | 856 "prints when objects are turned into dictionaries.") |
| 855 | 857 |
| (...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1040 #undef DEFINE_ALIAS_FLOAT | 1042 #undef DEFINE_ALIAS_FLOAT |
| 1041 #undef DEFINE_ALIAS_ARGS | 1043 #undef DEFINE_ALIAS_ARGS |
| 1042 | 1044 |
| 1043 #undef FLAG_MODE_DECLARE | 1045 #undef FLAG_MODE_DECLARE |
| 1044 #undef FLAG_MODE_DEFINE | 1046 #undef FLAG_MODE_DEFINE |
| 1045 #undef FLAG_MODE_DEFINE_DEFAULTS | 1047 #undef FLAG_MODE_DEFINE_DEFAULTS |
| 1046 #undef FLAG_MODE_META | 1048 #undef FLAG_MODE_META |
| 1047 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1049 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
| 1048 | 1050 |
| 1049 #undef COMMA | 1051 #undef COMMA |
| OLD | NEW |