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 845 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
856 | 856 |
857 | 857 |
858 // v8.cc | 858 // v8.cc |
859 DEFINE_BOOL(use_idle_notification, true, | 859 DEFINE_BOOL(use_idle_notification, true, |
860 "Use idle notification to reduce memory footprint.") | 860 "Use idle notification to reduce memory footprint.") |
861 // ic.cc | 861 // ic.cc |
862 DEFINE_BOOL(use_ic, true, "use inline caching") | 862 DEFINE_BOOL(use_ic, true, "use inline caching") |
863 DEFINE_BOOL(trace_ic, false, "trace inline cache state transitions") | 863 DEFINE_BOOL(trace_ic, false, "trace inline cache state transitions") |
864 DEFINE_INT(ic_stats, 0, "inline cache state transitions statistics") | 864 DEFINE_INT(ic_stats, 0, "inline cache state transitions statistics") |
865 DEFINE_VALUE_IMPLICATION(trace_ic, ic_stats, 1) | 865 DEFINE_VALUE_IMPLICATION(trace_ic, ic_stats, 1) |
| 866 DEFINE_BOOL_READONLY(track_constant_fields, false, |
| 867 "enable constant field tracking") |
866 | 868 |
867 // macro-assembler-ia32.cc | 869 // macro-assembler-ia32.cc |
868 DEFINE_BOOL(native_code_counters, false, | 870 DEFINE_BOOL(native_code_counters, false, |
869 "generate extra code for manipulating stats counters") | 871 "generate extra code for manipulating stats counters") |
870 | 872 |
871 // mark-compact.cc | 873 // mark-compact.cc |
872 DEFINE_BOOL(always_compact, false, "Perform compaction on every full GC") | 874 DEFINE_BOOL(always_compact, false, "Perform compaction on every full GC") |
873 DEFINE_BOOL(never_compact, false, | 875 DEFINE_BOOL(never_compact, false, |
874 "Never perform compaction on full GC - testing only") | 876 "Never perform compaction on full GC - testing only") |
875 DEFINE_BOOL(compact_code_space, true, "Compact code space on full collections") | 877 DEFINE_BOOL(compact_code_space, true, "Compact code space on full collections") |
(...skipping 432 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1308 #undef DEFINE_ALIAS_FLOAT | 1310 #undef DEFINE_ALIAS_FLOAT |
1309 #undef DEFINE_ALIAS_ARGS | 1311 #undef DEFINE_ALIAS_ARGS |
1310 | 1312 |
1311 #undef FLAG_MODE_DECLARE | 1313 #undef FLAG_MODE_DECLARE |
1312 #undef FLAG_MODE_DEFINE | 1314 #undef FLAG_MODE_DEFINE |
1313 #undef FLAG_MODE_DEFINE_DEFAULTS | 1315 #undef FLAG_MODE_DEFINE_DEFAULTS |
1314 #undef FLAG_MODE_META | 1316 #undef FLAG_MODE_META |
1315 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1317 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1316 | 1318 |
1317 #undef COMMA | 1319 #undef COMMA |
OLD | NEW |