Commit f2b60e9a authored by ulan's avatar ulan Committed by Commit bot

Fix flag implications for --predictable.

The order is important for DEFINE_IMPLICATION to ensure transitive
implication: predictable => single_threaded => !concurrent_sweeping.

BUG=5580

Review-Url: https://codereview.chromium.org/2456323002
Cr-Commit-Position: refs/heads/master@{#40644}
parent 99934ee2
......@@ -1160,6 +1160,14 @@ DEFINE_IMPLICATION(print_all_code, trace_codegen)
#undef FLAG
#define FLAG FLAG_FULL
//
// Predictable mode related flags.
//
DEFINE_BOOL(predictable, false, "enable predictable mode")
DEFINE_IMPLICATION(predictable, single_threaded)
DEFINE_NEG_IMPLICATION(predictable, memory_reducer)
//
// Threading related flags.
//
......@@ -1169,13 +1177,6 @@ DEFINE_NEG_IMPLICATION(single_threaded, concurrent_recompilation)
DEFINE_NEG_IMPLICATION(single_threaded, concurrent_sweeping)
DEFINE_NEG_IMPLICATION(single_threaded, parallel_compaction)
//
// Predictable mode related flags.
//
DEFINE_BOOL(predictable, false, "enable predictable mode")
DEFINE_IMPLICATION(predictable, single_threaded)
DEFINE_NEG_IMPLICATION(predictable, memory_reducer)
#undef FLAG
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment