Index: src/hydrogen-check-elimination.cc |
diff --git a/src/hydrogen-check-elimination.cc b/src/hydrogen-check-elimination.cc |
index 3542fa601a0ee2e003cc3230ba1b5e2fc5063156..1530fe1cf5dceb1545887f4984679238b6b2e388 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_NULL(entry->check_); |
+ DCHECK_EQ(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_NOT_NULL(entry->object_); |
+ DCHECK(entry->object_ != NULL); |
if (phase_->aliasing_->MayAlias(entry->object_, object)) { |
entry->object_ = NULL; |
compact = true; |
} |
} |
if (compact) Compact(); |
- DCHECK_NULL(Find(object)); |
+ DCHECK(Find(object) == NULL); |
} |
void Compact() { |