Chromium Code Reviews

Unified Diff: src/compiler/node-properties.h

Issue 888613002: Initial switch to Chromium-style CHECK_* and DCHECK_* macros. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix slow dchecks. Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: src/compiler/node-properties.h
diff --git a/src/compiler/node-properties.h b/src/compiler/node-properties.h
index b40faf39d407916c48501dc0d5d7dfe3ad92ed99..9b9926b75132bc8531116a7b40d24f4ef9a5422e 100644
--- a/src/compiler/node-properties.h
+++ b/src/compiler/node-properties.h
@@ -104,8 +104,8 @@ class NodeProperties FINAL {
return node->bounds();
}
static void SetBounds(Node* node, Bounds bounds) {
- DCHECK_NOT_NULL(bounds.lower);
- DCHECK_NOT_NULL(bounds.upper);
+ DCHECK(bounds.lower);
+ DCHECK(bounds.upper);
node->set_bounds(bounds);
}
static void RemoveBounds(Node* node) { node->set_bounds(Bounds()); }

Powered by Google App Engine