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 1199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1210 DEFINE_VALUE_IMPLICATION(single_threaded, wasm_num_compilation_tasks, 0) | 1210 DEFINE_VALUE_IMPLICATION(single_threaded, wasm_num_compilation_tasks, 0) |
1211 | 1211 |
1212 // | 1212 // |
1213 // Threading related flags. | 1213 // Threading related flags. |
1214 // | 1214 // |
1215 | 1215 |
1216 DEFINE_BOOL(single_threaded, false, "disable the use of background tasks") | 1216 DEFINE_BOOL(single_threaded, false, "disable the use of background tasks") |
1217 DEFINE_NEG_IMPLICATION(single_threaded, concurrent_recompilation) | 1217 DEFINE_NEG_IMPLICATION(single_threaded, concurrent_recompilation) |
1218 DEFINE_NEG_IMPLICATION(single_threaded, concurrent_sweeping) | 1218 DEFINE_NEG_IMPLICATION(single_threaded, concurrent_sweeping) |
1219 DEFINE_NEG_IMPLICATION(single_threaded, parallel_compaction) | 1219 DEFINE_NEG_IMPLICATION(single_threaded, parallel_compaction) |
1220 | 1220 DEFINE_NEG_IMPLICATION(single_threaded, compiler_dispatcher) |
1221 | 1221 |
1222 #undef FLAG | 1222 #undef FLAG |
1223 | 1223 |
1224 #ifdef VERIFY_PREDICTABLE | 1224 #ifdef VERIFY_PREDICTABLE |
1225 #define FLAG FLAG_FULL | 1225 #define FLAG FLAG_FULL |
1226 #else | 1226 #else |
1227 #define FLAG FLAG_READONLY | 1227 #define FLAG FLAG_READONLY |
1228 #endif | 1228 #endif |
1229 | 1229 |
1230 DEFINE_BOOL(verify_predictable, false, | 1230 DEFINE_BOOL(verify_predictable, false, |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1268 #undef DEFINE_ALIAS_FLOAT | 1268 #undef DEFINE_ALIAS_FLOAT |
1269 #undef DEFINE_ALIAS_ARGS | 1269 #undef DEFINE_ALIAS_ARGS |
1270 | 1270 |
1271 #undef FLAG_MODE_DECLARE | 1271 #undef FLAG_MODE_DECLARE |
1272 #undef FLAG_MODE_DEFINE | 1272 #undef FLAG_MODE_DEFINE |
1273 #undef FLAG_MODE_DEFINE_DEFAULTS | 1273 #undef FLAG_MODE_DEFINE_DEFAULTS |
1274 #undef FLAG_MODE_META | 1274 #undef FLAG_MODE_META |
1275 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1275 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1276 | 1276 |
1277 #undef COMMA | 1277 #undef COMMA |
OLD | NEW |