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 659 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
670 "Dump heap object allocations/movements/size_updates") | 670 "Dump heap object allocations/movements/size_updates") |
671 | 671 |
672 | 672 |
673 // v8.cc | 673 // v8.cc |
674 DEFINE_BOOL(use_idle_notification, true, | 674 DEFINE_BOOL(use_idle_notification, true, |
675 "Use idle notification to reduce memory footprint.") | 675 "Use idle notification to reduce memory footprint.") |
676 // ic.cc | 676 // ic.cc |
677 DEFINE_BOOL(use_ic, true, "use inline caching") | 677 DEFINE_BOOL(use_ic, true, "use inline caching") |
678 DEFINE_BOOL(trace_ic, false, "trace inline cache state transitions") | 678 DEFINE_BOOL(trace_ic, false, "trace inline cache state transitions") |
679 DEFINE_BOOL(vector_stores, false, "use vectors for store ics") | 679 DEFINE_BOOL(vector_stores, false, "use vectors for store ics") |
680 DEFINE_BOOL(global_var_shortcuts, false, "use ic-less global loads and stores") | 680 DEFINE_BOOL(global_var_shortcuts, true, "use ic-less global loads and stores") |
681 | 681 |
682 // macro-assembler-ia32.cc | 682 // macro-assembler-ia32.cc |
683 DEFINE_BOOL(native_code_counters, false, | 683 DEFINE_BOOL(native_code_counters, false, |
684 "generate extra code for manipulating stats counters") | 684 "generate extra code for manipulating stats counters") |
685 | 685 |
686 // mark-compact.cc | 686 // mark-compact.cc |
687 DEFINE_BOOL(always_compact, false, "Perform compaction on every full GC") | 687 DEFINE_BOOL(always_compact, false, "Perform compaction on every full GC") |
688 DEFINE_BOOL(never_compact, false, | 688 DEFINE_BOOL(never_compact, false, |
689 "Never perform compaction on full GC - testing only") | 689 "Never perform compaction on full GC - testing only") |
690 DEFINE_BOOL(compact_code_space, true, "Compact code space on full collections") | 690 DEFINE_BOOL(compact_code_space, true, "Compact code space on full collections") |
(...skipping 382 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1073 #undef DEFINE_ALIAS_FLOAT | 1073 #undef DEFINE_ALIAS_FLOAT |
1074 #undef DEFINE_ALIAS_ARGS | 1074 #undef DEFINE_ALIAS_ARGS |
1075 | 1075 |
1076 #undef FLAG_MODE_DECLARE | 1076 #undef FLAG_MODE_DECLARE |
1077 #undef FLAG_MODE_DEFINE | 1077 #undef FLAG_MODE_DEFINE |
1078 #undef FLAG_MODE_DEFINE_DEFAULTS | 1078 #undef FLAG_MODE_DEFINE_DEFAULTS |
1079 #undef FLAG_MODE_META | 1079 #undef FLAG_MODE_META |
1080 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1080 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1081 | 1081 |
1082 #undef COMMA | 1082 #undef COMMA |
OLD | NEW |