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 713 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
724 DEFINE_BOOL(print_builtin_scopes, false, "print scopes for builtins") | 724 DEFINE_BOOL(print_builtin_scopes, false, "print scopes for builtins") |
725 DEFINE_BOOL(print_scopes, false, "print scopes") | 725 DEFINE_BOOL(print_scopes, false, "print scopes") |
726 | 726 |
727 // contexts.cc | 727 // contexts.cc |
728 DEFINE_BOOL(trace_contexts, false, "trace contexts operations") | 728 DEFINE_BOOL(trace_contexts, false, "trace contexts operations") |
729 | 729 |
730 // heap.cc | 730 // heap.cc |
731 DEFINE_BOOL(gc_verbose, false, "print stuff during garbage collection") | 731 DEFINE_BOOL(gc_verbose, false, "print stuff during garbage collection") |
732 DEFINE_BOOL(heap_stats, false, "report heap statistics before and after GC") | 732 DEFINE_BOOL(heap_stats, false, "report heap statistics before and after GC") |
733 DEFINE_BOOL(code_stats, false, "report code statistics after GC") | 733 DEFINE_BOOL(code_stats, false, "report code statistics after GC") |
734 DEFINE_BOOL(verify_native_context_separation, false, | |
735 "verify that code holds on to at most one native context after GC") | |
736 DEFINE_BOOL(print_handles, false, "report handles after GC") | 734 DEFINE_BOOL(print_handles, false, "report handles after GC") |
737 DEFINE_BOOL(print_global_handles, false, "report global handles after GC") | 735 DEFINE_BOOL(print_global_handles, false, "report global handles after GC") |
738 | 736 |
739 // TurboFan debug-only flags. | 737 // TurboFan debug-only flags. |
740 DEFINE_BOOL(print_turbo_replay, false, | 738 DEFINE_BOOL(print_turbo_replay, false, |
741 "print C++ code to recreate TurboFan graphs") | 739 "print C++ code to recreate TurboFan graphs") |
742 | 740 |
743 // interface.cc | 741 // interface.cc |
744 DEFINE_BOOL(print_interfaces, false, "print interfaces") | 742 DEFINE_BOOL(print_interfaces, false, "print interfaces") |
745 DEFINE_BOOL(print_interface_details, false, "print interface inference details") | 743 DEFINE_BOOL(print_interface_details, false, "print interface inference details") |
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
928 #undef DEFINE_ALIAS_FLOAT | 926 #undef DEFINE_ALIAS_FLOAT |
929 #undef DEFINE_ALIAS_ARGS | 927 #undef DEFINE_ALIAS_ARGS |
930 | 928 |
931 #undef FLAG_MODE_DECLARE | 929 #undef FLAG_MODE_DECLARE |
932 #undef FLAG_MODE_DEFINE | 930 #undef FLAG_MODE_DEFINE |
933 #undef FLAG_MODE_DEFINE_DEFAULTS | 931 #undef FLAG_MODE_DEFINE_DEFAULTS |
934 #undef FLAG_MODE_META | 932 #undef FLAG_MODE_META |
935 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 933 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
936 | 934 |
937 #undef COMMA | 935 #undef COMMA |
OLD | NEW |