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

Unified Diff: src/hydrogen-instructions.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/hydrogen-instructions.h
diff --git a/src/hydrogen-instructions.h b/src/hydrogen-instructions.h
index ed4b065efad25123fe081ad40847db3b36213341..b0cd7d74362e130d4c0652d51b0f53844a8f56c2 100644
--- a/src/hydrogen-instructions.h
+++ b/src/hydrogen-instructions.h
@@ -6504,7 +6504,7 @@ class HLoadNamedField FINAL : public HTemplateInstruction<2> {
HValue* dependency,
HObjectAccess access)
: access_(access), maps_(NULL) {
- DCHECK_NOT_NULL(object);
+ DCHECK(object);
SetOperandAt(0, object);
SetOperandAt(1, dependency ? dependency : object);
@@ -6540,10 +6540,10 @@ class HLoadNamedField FINAL : public HTemplateInstruction<2> {
const UniqueSet<Map>* maps,
HType type)
: HTemplateInstruction<2>(type), access_(access), maps_(maps) {
- DCHECK_NOT_NULL(maps);
+ DCHECK(maps);
DCHECK_NE(0, maps->size());
- DCHECK_NOT_NULL(object);
+ DCHECK(object);
SetOperandAt(0, object);
SetOperandAt(1, dependency ? dependency : object);

Powered by Google App Engine
This is Rietveld 408576698