Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(607)

Side by Side Diff: src/flag-definitions.h

Issue 2570543002: [wasm] Disable parallel compilation in predictable mode. (Closed)
Patch Set: Use the single_threaded flag as the implicator Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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(single_threaded, wasm_num_compilation_tasks, 0)
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
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
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698