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

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. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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
This is Rietveld 408576698