Chromium Code Reviews| 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 1163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1174 #undef FLAG | 1174 #undef FLAG |
| 1175 #define FLAG FLAG_FULL | 1175 #define FLAG FLAG_FULL |
| 1176 | 1176 |
| 1177 // | 1177 // |
| 1178 // Predictable mode related flags. | 1178 // Predictable mode related flags. |
| 1179 // | 1179 // |
| 1180 | 1180 |
| 1181 DEFINE_BOOL(predictable, false, "enable predictable mode") | 1181 DEFINE_BOOL(predictable, false, "enable predictable mode") |
| 1182 DEFINE_IMPLICATION(predictable, single_threaded) | 1182 DEFINE_IMPLICATION(predictable, single_threaded) |
| 1183 DEFINE_NEG_IMPLICATION(predictable, memory_reducer) | 1183 DEFINE_NEG_IMPLICATION(predictable, memory_reducer) |
| 1184 DEFINE_VALUE_IMPLICATION(predictable, wasm_num_compilation_tasks, 0) | |
|
Igor Sheludko
2016/12/12 15:51:44
It should probably be an implication of single_thr
| |
| 1184 | 1185 |
| 1185 // | 1186 // |
| 1186 // Threading related flags. | 1187 // Threading related flags. |
| 1187 // | 1188 // |
| 1188 | 1189 |
| 1189 DEFINE_BOOL(single_threaded, false, "disable the use of background tasks") | 1190 DEFINE_BOOL(single_threaded, false, "disable the use of background tasks") |
| 1190 DEFINE_NEG_IMPLICATION(single_threaded, concurrent_recompilation) | 1191 DEFINE_NEG_IMPLICATION(single_threaded, concurrent_recompilation) |
| 1191 DEFINE_NEG_IMPLICATION(single_threaded, concurrent_sweeping) | 1192 DEFINE_NEG_IMPLICATION(single_threaded, concurrent_sweeping) |
| 1192 DEFINE_NEG_IMPLICATION(single_threaded, parallel_compaction) | 1193 DEFINE_NEG_IMPLICATION(single_threaded, parallel_compaction) |
| 1193 | 1194 |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1241 #undef DEFINE_ALIAS_FLOAT | 1242 #undef DEFINE_ALIAS_FLOAT |
| 1242 #undef DEFINE_ALIAS_ARGS | 1243 #undef DEFINE_ALIAS_ARGS |
| 1243 | 1244 |
| 1244 #undef FLAG_MODE_DECLARE | 1245 #undef FLAG_MODE_DECLARE |
| 1245 #undef FLAG_MODE_DEFINE | 1246 #undef FLAG_MODE_DEFINE |
| 1246 #undef FLAG_MODE_DEFINE_DEFAULTS | 1247 #undef FLAG_MODE_DEFINE_DEFAULTS |
| 1247 #undef FLAG_MODE_META | 1248 #undef FLAG_MODE_META |
| 1248 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1249 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
| 1249 | 1250 |
| 1250 #undef COMMA | 1251 #undef COMMA |
| OLD | NEW |