Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(721)

Unified Diff: src/serialize.h

Issue 877753007: Reland "Initial switch to Chromium-style CHECK_* and DCHECK_* macros.". (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: VS201x now happy? Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/runtime/runtime-array.cc ('k') | src/serialize.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/serialize.h
diff --git a/src/serialize.h b/src/serialize.h
index cc267aa5fa21ea9fa1cf9a54a3b2aea586ffac49..9aaf38182db6ea28383fbfd8cb1ff72897d262f7 100644
--- a/src/serialize.h
+++ b/src/serialize.h
@@ -275,7 +275,7 @@ class BackReferenceMap : public AddressMapBase {
void Add(HeapObject* obj, BackReference b) {
DCHECK(b.is_valid());
- DCHECK_EQ(NULL, LookupEntry(map_, obj, false));
+ DCHECK_NULL(LookupEntry(map_, obj, false));
HashMap::Entry* entry = LookupEntry(map_, obj, true);
SetValue(entry, b.bitfield());
}
@@ -307,7 +307,7 @@ class HotObjectsList {
}
HeapObject* Get(int index) {
- DCHECK_NE(NULL, circular_queue_[index]);
+ DCHECK_NOT_NULL(circular_queue_[index]);
return circular_queue_[index];
}
« no previous file with comments | « src/runtime/runtime-array.cc ('k') | src/serialize.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698