Index: src/compiler/instruction-selector-impl.h |
diff --git a/src/compiler/instruction-selector-impl.h b/src/compiler/instruction-selector-impl.h |
index 673d1b0dcbfe68967ebbf54c8d581e21831e4994..6cb87ea0c06cd2ecff9da771ba60c997cb2c728b 100644 |
--- a/src/compiler/instruction-selector-impl.h |
+++ b/src/compiler/instruction-selector-impl.h |
@@ -387,6 +387,7 @@ class FlagsContinuation final { |
void Overwrite(FlagsCondition condition) { condition_ = condition; } |
void OverwriteAndNegateIfEqual(FlagsCondition condition) { |
+ DCHECK(condition_ == kEqual || condition_ == kNotEqual); |
bool negate = condition_ == kEqual; |
condition_ = condition; |
if (negate) Negate(); |