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 800 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
811 | 811 |
812 | 812 |
813 // v8.cc | 813 // v8.cc |
814 DEFINE_BOOL(use_idle_notification, true, | 814 DEFINE_BOOL(use_idle_notification, true, |
815 "Use idle notification to reduce memory footprint.") | 815 "Use idle notification to reduce memory footprint.") |
816 // ic.cc | 816 // ic.cc |
817 DEFINE_BOOL(use_ic, true, "use inline caching") | 817 DEFINE_BOOL(use_ic, true, "use inline caching") |
818 DEFINE_BOOL(trace_ic, false, "trace inline cache state transitions") | 818 DEFINE_BOOL(trace_ic, false, "trace inline cache state transitions") |
819 DEFINE_INT(ic_stats, 0, "inline cache state transitions statistics") | 819 DEFINE_INT(ic_stats, 0, "inline cache state transitions statistics") |
820 DEFINE_VALUE_IMPLICATION(trace_ic, ic_stats, 1) | 820 DEFINE_VALUE_IMPLICATION(trace_ic, ic_stats, 1) |
821 DEFINE_BOOL_READONLY(tf_load_ic_stub, true, "use TF LoadIC stub") | |
822 DEFINE_BOOL(tf_store_ic_stub, true, "use TF StoreIC stub") | |
823 | 821 |
824 // macro-assembler-ia32.cc | 822 // macro-assembler-ia32.cc |
825 DEFINE_BOOL(native_code_counters, false, | 823 DEFINE_BOOL(native_code_counters, false, |
826 "generate extra code for manipulating stats counters") | 824 "generate extra code for manipulating stats counters") |
827 | 825 |
828 // mark-compact.cc | 826 // mark-compact.cc |
829 DEFINE_BOOL(always_compact, false, "Perform compaction on every full GC") | 827 DEFINE_BOOL(always_compact, false, "Perform compaction on every full GC") |
830 DEFINE_BOOL(never_compact, false, | 828 DEFINE_BOOL(never_compact, false, |
831 "Never perform compaction on full GC - testing only") | 829 "Never perform compaction on full GC - testing only") |
832 DEFINE_BOOL(compact_code_space, true, "Compact code space on full collections") | 830 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... |
1261 #undef DEFINE_ALIAS_FLOAT | 1259 #undef DEFINE_ALIAS_FLOAT |
1262 #undef DEFINE_ALIAS_ARGS | 1260 #undef DEFINE_ALIAS_ARGS |
1263 | 1261 |
1264 #undef FLAG_MODE_DECLARE | 1262 #undef FLAG_MODE_DECLARE |
1265 #undef FLAG_MODE_DEFINE | 1263 #undef FLAG_MODE_DEFINE |
1266 #undef FLAG_MODE_DEFINE_DEFAULTS | 1264 #undef FLAG_MODE_DEFINE_DEFAULTS |
1267 #undef FLAG_MODE_META | 1265 #undef FLAG_MODE_META |
1268 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1266 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1269 | 1267 |
1270 #undef COMMA | 1268 #undef COMMA |
OLD | NEW |