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 787 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
798 DEFINE_BOOL(sampling_heap_profiler_suppress_randomness, false, | 798 DEFINE_BOOL(sampling_heap_profiler_suppress_randomness, false, |
799 "Use constant sample intervals to eliminate test flakiness") | 799 "Use constant sample intervals to eliminate test flakiness") |
800 | 800 |
801 | 801 |
802 // v8.cc | 802 // v8.cc |
803 DEFINE_BOOL(use_idle_notification, true, | 803 DEFINE_BOOL(use_idle_notification, true, |
804 "Use idle notification to reduce memory footprint.") | 804 "Use idle notification to reduce memory footprint.") |
805 // ic.cc | 805 // ic.cc |
806 DEFINE_BOOL(use_ic, true, "use inline caching") | 806 DEFINE_BOOL(use_ic, true, "use inline caching") |
807 DEFINE_BOOL(trace_ic, false, "trace inline cache state transitions") | 807 DEFINE_BOOL(trace_ic, false, "trace inline cache state transitions") |
| 808 DEFINE_INT(ic_stats, 0, "inline cache state transitions statistics") |
| 809 DEFINE_VALUE_IMPLICATION(trace_ic, ic_stats, 1) |
808 DEFINE_BOOL_READONLY(tf_load_ic_stub, true, "use TF LoadIC stub") | 810 DEFINE_BOOL_READONLY(tf_load_ic_stub, true, "use TF LoadIC stub") |
809 DEFINE_BOOL(tf_store_ic_stub, true, "use TF StoreIC stub") | 811 DEFINE_BOOL(tf_store_ic_stub, true, "use TF StoreIC stub") |
810 | 812 |
811 // macro-assembler-ia32.cc | 813 // macro-assembler-ia32.cc |
812 DEFINE_BOOL(native_code_counters, false, | 814 DEFINE_BOOL(native_code_counters, false, |
813 "generate extra code for manipulating stats counters") | 815 "generate extra code for manipulating stats counters") |
814 | 816 |
815 // mark-compact.cc | 817 // mark-compact.cc |
816 DEFINE_BOOL(always_compact, false, "Perform compaction on every full GC") | 818 DEFINE_BOOL(always_compact, false, "Perform compaction on every full GC") |
817 DEFINE_BOOL(never_compact, false, | 819 DEFINE_BOOL(never_compact, false, |
(...skipping 418 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1236 #undef DEFINE_ALIAS_FLOAT | 1238 #undef DEFINE_ALIAS_FLOAT |
1237 #undef DEFINE_ALIAS_ARGS | 1239 #undef DEFINE_ALIAS_ARGS |
1238 | 1240 |
1239 #undef FLAG_MODE_DECLARE | 1241 #undef FLAG_MODE_DECLARE |
1240 #undef FLAG_MODE_DEFINE | 1242 #undef FLAG_MODE_DEFINE |
1241 #undef FLAG_MODE_DEFINE_DEFAULTS | 1243 #undef FLAG_MODE_DEFINE_DEFAULTS |
1242 #undef FLAG_MODE_META | 1244 #undef FLAG_MODE_META |
1243 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1245 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1244 | 1246 |
1245 #undef COMMA | 1247 #undef COMMA |
OLD | NEW |