Index: src/compiler/register-allocator.cc |
diff --git a/src/compiler/register-allocator.cc b/src/compiler/register-allocator.cc |
index e0487fa8e3b1693e2ca5ea201b9f72635fb639cf..4e5e53b2e6da1d5eba133550d83a1bdb8d803518 100644 |
--- a/src/compiler/register-allocator.cc |
+++ b/src/compiler/register-allocator.cc |
@@ -183,7 +183,7 @@ void LiveRange::SetSpillOperand(InstructionOperand* operand) { |
void LiveRange::SetSpillRange(SpillRange* spill_range) { |
DCHECK(HasNoSpillType() || HasSpillRange()); |
- DCHECK_NE(spill_range, nullptr); |
+ DCHECK(spill_range); |
spill_type_ = SpillType::kSpillRange; |
spill_range_ = spill_range; |
} |