Index: src/compiler/move-optimizer.cc |
diff --git a/src/compiler/move-optimizer.cc b/src/compiler/move-optimizer.cc |
index 330f32f65d584fba17d082f3d72924c9d97a6f6c..855256e92c75981ea3e332a84f2ddd492f8ad175 100644 |
--- a/src/compiler/move-optimizer.cc |
+++ b/src/compiler/move-optimizer.cc |
@@ -83,11 +83,11 @@ static MoveOperands* PrepareInsertAfter(ParallelMove* left, MoveOperands* move, |
for (auto curr = move_ops->begin(); curr != move_ops->end(); ++curr) { |
if (curr->IsEliminated()) continue; |
if (curr->destination()->Equals(move->source())) { |
- DCHECK_EQ(nullptr, replacement); |
+ DCHECK(!replacement); |
replacement = curr; |
if (to_eliminate != nullptr) break; |
} else if (curr->destination()->Equals(move->destination())) { |
- DCHECK_EQ(nullptr, to_eliminate); |
+ DCHECK(!to_eliminate); |
to_eliminate = curr; |
if (replacement != nullptr) break; |
} |