| 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 811 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 822 | 822 |
| 823 // code-stubs-hydrogen.cc | 823 // code-stubs-hydrogen.cc |
| 824 DEFINE_BOOL(profile_hydrogen_code_stub_compilation, false, | 824 DEFINE_BOOL(profile_hydrogen_code_stub_compilation, false, |
| 825 "Print the time it takes to lazily compile hydrogen code stubs.") | 825 "Print the time it takes to lazily compile hydrogen code stubs.") |
| 826 | 826 |
| 827 DEFINE_BOOL(predictable, false, "enable predictable mode") | 827 DEFINE_BOOL(predictable, false, "enable predictable mode") |
| 828 DEFINE_NEG_IMPLICATION(predictable, concurrent_recompilation) | 828 DEFINE_NEG_IMPLICATION(predictable, concurrent_recompilation) |
| 829 DEFINE_NEG_IMPLICATION(predictable, concurrent_osr) | 829 DEFINE_NEG_IMPLICATION(predictable, concurrent_osr) |
| 830 DEFINE_NEG_IMPLICATION(predictable, concurrent_sweeping) | 830 DEFINE_NEG_IMPLICATION(predictable, concurrent_sweeping) |
| 831 DEFINE_NEG_IMPLICATION(predictable, parallel_compaction) | 831 DEFINE_NEG_IMPLICATION(predictable, parallel_compaction) |
| 832 DEFINE_NEG_IMPLICATION(predictable, memory_reducer) |
| 832 | 833 |
| 833 // mark-compact.cc | 834 // mark-compact.cc |
| 834 DEFINE_BOOL(force_marking_deque_overflows, false, | 835 DEFINE_BOOL(force_marking_deque_overflows, false, |
| 835 "force overflows of marking deque by reducing it's size " | 836 "force overflows of marking deque by reducing it's size " |
| 836 "to 64 words") | 837 "to 64 words") |
| 837 | 838 |
| 838 DEFINE_BOOL(stress_compaction, false, | 839 DEFINE_BOOL(stress_compaction, false, |
| 839 "stress the GC compactor to flush out bugs (implies " | 840 "stress the GC compactor to flush out bugs (implies " |
| 840 "--force_marking_deque_overflows)") | 841 "--force_marking_deque_overflows)") |
| 841 | 842 |
| (...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1069 #undef FLAG | 1070 #undef FLAG |
| 1070 | 1071 |
| 1071 #ifdef VERIFY_PREDICTABLE | 1072 #ifdef VERIFY_PREDICTABLE |
| 1072 #define FLAG FLAG_FULL | 1073 #define FLAG FLAG_FULL |
| 1073 #else | 1074 #else |
| 1074 #define FLAG FLAG_READONLY | 1075 #define FLAG FLAG_READONLY |
| 1075 #endif | 1076 #endif |
| 1076 | 1077 |
| 1077 DEFINE_BOOL(verify_predictable, false, | 1078 DEFINE_BOOL(verify_predictable, false, |
| 1078 "this mode is used for checking that V8 behaves predictably") | 1079 "this mode is used for checking that V8 behaves predictably") |
| 1079 DEFINE_INT(dump_allocations_digest_at_alloc, 0, | 1080 DEFINE_INT(dump_allocations_digest_at_alloc, -1, |
| 1080 "dump allocations digest each n-th allocation") | 1081 "dump allocations digest each n-th allocation") |
| 1081 | 1082 |
| 1082 | 1083 |
| 1083 // | 1084 // |
| 1084 // Read-only flags | 1085 // Read-only flags |
| 1085 // | 1086 // |
| 1086 #undef FLAG | 1087 #undef FLAG |
| 1087 #define FLAG FLAG_READONLY | 1088 #define FLAG FLAG_READONLY |
| 1088 | 1089 |
| 1089 // assembler.h | 1090 // assembler.h |
| (...skipping 29 matching lines...) Expand all Loading... |
| 1119 #undef DEFINE_ALIAS_FLOAT | 1120 #undef DEFINE_ALIAS_FLOAT |
| 1120 #undef DEFINE_ALIAS_ARGS | 1121 #undef DEFINE_ALIAS_ARGS |
| 1121 | 1122 |
| 1122 #undef FLAG_MODE_DECLARE | 1123 #undef FLAG_MODE_DECLARE |
| 1123 #undef FLAG_MODE_DEFINE | 1124 #undef FLAG_MODE_DEFINE |
| 1124 #undef FLAG_MODE_DEFINE_DEFAULTS | 1125 #undef FLAG_MODE_DEFINE_DEFAULTS |
| 1125 #undef FLAG_MODE_META | 1126 #undef FLAG_MODE_META |
| 1126 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1127 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
| 1127 | 1128 |
| 1128 #undef COMMA | 1129 #undef COMMA |
| OLD | NEW |