| 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") |
| 842 DEFINE_BOOL(print_global_handles, false, "report global handles after GC") | 844 DEFINE_BOOL(print_global_handles, false, "report global handles after GC") |
| 843 | 845 |
| 844 // TurboFan debug-only flags. | 846 // TurboFan debug-only flags. |
| 845 DEFINE_BOOL(print_turbo_replay, false, | 847 DEFINE_BOOL(print_turbo_replay, false, |
| 846 "print C++ code to recreate TurboFan graphs") | 848 "print C++ code to recreate TurboFan graphs") |
| 847 | 849 |
| 848 // objects.cc | 850 // objects.cc |
| 849 DEFINE_BOOL(trace_normalization, false, | 851 DEFINE_BOOL(trace_normalization, false, |
| 850 "prints when objects are turned into dictionaries.") | 852 "prints when objects are turned into dictionaries.") |
| 851 | 853 |
| (...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1036 #undef DEFINE_ALIAS_FLOAT | 1038 #undef DEFINE_ALIAS_FLOAT |
| 1037 #undef DEFINE_ALIAS_ARGS | 1039 #undef DEFINE_ALIAS_ARGS |
| 1038 | 1040 |
| 1039 #undef FLAG_MODE_DECLARE | 1041 #undef FLAG_MODE_DECLARE |
| 1040 #undef FLAG_MODE_DEFINE | 1042 #undef FLAG_MODE_DEFINE |
| 1041 #undef FLAG_MODE_DEFINE_DEFAULTS | 1043 #undef FLAG_MODE_DEFINE_DEFAULTS |
| 1042 #undef FLAG_MODE_META | 1044 #undef FLAG_MODE_META |
| 1043 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1045 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
| 1044 | 1046 |
| 1045 #undef COMMA | 1047 #undef COMMA |
| OLD | NEW |