Index: src/hydrogen-check-elimination.cc |
diff --git a/src/hydrogen-check-elimination.cc b/src/hydrogen-check-elimination.cc |
index 1530fe1cf5dceb1545887f4984679238b6b2e388..3542fa601a0ee2e003cc3230ba1b5e2fc5063156 100644 |
--- a/src/hydrogen-check-elimination.cc |
+++ b/src/hydrogen-check-elimination.cc |
@@ -373,7 +373,7 @@ class HCheckTable : public ZoneObject { |
instr->DeleteAndReplaceWith(entry->check_); |
INC_STAT(redundant_); |
} else if (entry->state_ == HCheckTableEntry::UNCHECKED_STABLE) { |
- DCHECK_EQ(NULL, entry->check_); |
+ DCHECK_NULL(entry->check_); |
TRACE(("Marking redundant CheckMaps #%d at B%d as stability check\n", |
instr->id(), instr->block()->block_id())); |
instr->set_maps(entry->maps_->Copy(graph->zone())); |
@@ -684,14 +684,14 @@ class HCheckTable : public ZoneObject { |
bool compact = false; |
for (int i = 0; i < size_; i++) { |
HCheckTableEntry* entry = &entries_[i]; |
- DCHECK(entry->object_ != NULL); |
+ DCHECK_NOT_NULL(entry->object_); |
if (phase_->aliasing_->MayAlias(entry->object_, object)) { |
entry->object_ = NULL; |
compact = true; |
} |
} |
if (compact) Compact(); |
- DCHECK(Find(object) == NULL); |
+ DCHECK_NULL(Find(object)); |
} |
void Compact() { |