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 831 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
842 | 842 |
843 | 843 |
844 // v8.cc | 844 // v8.cc |
845 DEFINE_BOOL(use_idle_notification, true, | 845 DEFINE_BOOL(use_idle_notification, true, |
846 "Use idle notification to reduce memory footprint.") | 846 "Use idle notification to reduce memory footprint.") |
847 // ic.cc | 847 // ic.cc |
848 DEFINE_BOOL(use_ic, true, "use inline caching") | 848 DEFINE_BOOL(use_ic, true, "use inline caching") |
849 DEFINE_BOOL(trace_ic, false, "trace inline cache state transitions") | 849 DEFINE_BOOL(trace_ic, false, "trace inline cache state transitions") |
850 DEFINE_INT(ic_stats, 0, "inline cache state transitions statistics") | 850 DEFINE_INT(ic_stats, 0, "inline cache state transitions statistics") |
851 DEFINE_VALUE_IMPLICATION(trace_ic, ic_stats, 1) | 851 DEFINE_VALUE_IMPLICATION(trace_ic, ic_stats, 1) |
| 852 DEFINE_BOOL_READONLY(track_constant_fields, false, |
| 853 "enable constant field tracking") |
852 | 854 |
853 // macro-assembler-ia32.cc | 855 // macro-assembler-ia32.cc |
854 DEFINE_BOOL(native_code_counters, false, | 856 DEFINE_BOOL(native_code_counters, false, |
855 "generate extra code for manipulating stats counters") | 857 "generate extra code for manipulating stats counters") |
856 | 858 |
857 // mark-compact.cc | 859 // mark-compact.cc |
858 DEFINE_BOOL(always_compact, false, "Perform compaction on every full GC") | 860 DEFINE_BOOL(always_compact, false, "Perform compaction on every full GC") |
859 DEFINE_BOOL(never_compact, false, | 861 DEFINE_BOOL(never_compact, false, |
860 "Never perform compaction on full GC - testing only") | 862 "Never perform compaction on full GC - testing only") |
861 DEFINE_BOOL(compact_code_space, true, "Compact code space on full collections") | 863 DEFINE_BOOL(compact_code_space, true, "Compact code space on full collections") |
(...skipping 428 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1290 #undef DEFINE_ALIAS_FLOAT | 1292 #undef DEFINE_ALIAS_FLOAT |
1291 #undef DEFINE_ALIAS_ARGS | 1293 #undef DEFINE_ALIAS_ARGS |
1292 | 1294 |
1293 #undef FLAG_MODE_DECLARE | 1295 #undef FLAG_MODE_DECLARE |
1294 #undef FLAG_MODE_DEFINE | 1296 #undef FLAG_MODE_DEFINE |
1295 #undef FLAG_MODE_DEFINE_DEFAULTS | 1297 #undef FLAG_MODE_DEFINE_DEFAULTS |
1296 #undef FLAG_MODE_META | 1298 #undef FLAG_MODE_META |
1297 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1299 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1298 | 1300 |
1299 #undef COMMA | 1301 #undef COMMA |
OLD | NEW |